I have the following code in a content template but The requestURl won't work.

If i use "< and >" it breaks the page
if i use "&lt; and &gt;" it publishes like that and doesn't work
if I use "&lang; and &rang;" it also breaks

 <!IoRangePreExecute>
<% If "<%OptOGURL%>"="override" Then %>
    <meta property="og:url" content="<%= Request.Url %>" />
    <% Else %>
    <meta property="og:url" content="http://www.snhu.edu<%nfoPage_URL%>" />
<% End If %>
<!/IoRangePreExecute>

then I tried

 <!IoRangePreExecute>
<% If "<%OptOGURL%>"="override" Then %>
    <meta property="og:url" content="&lt;%= Request.Url %&gt;" />
    <% Else %>
    <meta property="og:url" content="http://www.snhu.edu<%nfoPage_URL%>" />
<% End If %>
<!/IoRangePreExecute>

I had this code working previously but it wasn't in pre execute block marks.
<meta property="og:url" content="<%= Request.Url %>" />

what can I use to get the end result to work?
Is there something I need to do to get encoding and decoding to work a certain 
way in  pre execute?

curtis

Please consider the environment before printing this e-mail.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to