I believe the u
helper method is what you're looking for:
<%=u "URL ENCODE <p>ME</p>" %>
I can't seem to find the documentation for that method, but if I find it in the near future I'll be sure to put a link in here.
Edit: You can find the documentation for this method here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…