Does anyone know how to use render tags to correctly handle a text
element, which has one or more carriage returns in it's content?

When I try this:-

newsText  = "<%!! Escape:HtmlDecode(Store:newsPage
[Int32:newsCounter].Elements.GetElement(con_Body).Value
[Int32:0].Elements.GetElement(txt_ArticleText).Value) !!%>"

...or this:-

newsText  = "<%!! Store:newsPage
[Int32:eventCounter].Elements.GetElement(con_Body).Value
[Int32:0].Elements.GetElement(txt_ArticleText).Value !!%>"

I get an "Unterminated string constant" error, on any element instance
that contains one or more carriage returns.

I've tried altering the structure of the child element to translate
carriage returns to <BR> tags.  No luck.  I then tried using a
VbScript Replace function to replace the VbCrLf character with a
space. No luck either.  I

I can't even leave the render tag in the template as a comment without
generating an error.

Any and all help and advice appreciated.

Many thanks


Phil

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