Hi all,

I'm trying to pull through content from one page to another. Since
there's more than one level of referencing/connecting between the two,
I need to use render tags.

I have something akin to the following:

<!IoRangePreExecute>
<%
text = "<%!! Store:testList.Elements.GetElement(anc_article).Value[Int:
0].Elements.GetElement(txt_text).GetHtml() !!%>"
%>
<!/IoRangePreExecute>

which is all well and good, except for when txt_text contains a double
quote, in which case this expands to:

<!IoRangePreExecute>
<%
text = "this is an "example" of the problem"
%>
<!/IoRangePreExecute>

which is obviously a problem; those double-quotes need to be escaped
as "" in vbscript. So:

a) Is there an alternative to GetHtml() that will pre-escape double-
quotes?

b) Failing that, can anyone think of a good workaround? As far as I
can tell, vbscript lacks a heredoc syntax, which is a bit of a
problem ...

Thanks everyone,

- Bobby

-- 
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