Hi Dmitry,

Yes, it is possible to do it with Rendertag

<%!! Escape:Text(<%hdl_Headline%>).Replace(&,%26).Replace(Escape:Space,
%20) !!%>

Best,

-Jian

On Jul 20, 11:36 am, Dmitry Terner <[email protected]> wrote:
> Hi Jian,
>
> My use case is this:
>
> let's say that In CMS my content class has this
>
> <a href="<%anc_Main%>"?<%hdl_Headline%>">Link</a>
>
> but headline can be anything so it may publish this:
>
> http://mysite.com/page.htm?title=This&; that
>
> Obviously I need to encode "this & that" so it becomes "this%20%26%20that"
> or the link won't work
>
> I don't really want to do this via javascript on the client side so I was
> wondering if there was a way to publish the page with correct encoding using
> render tags.
>
> Thanks,
>
> - Dmitry

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to