Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Prevent character translation in textarea
abhijeet1
Does anyone know if there is a way to prevent character translation from happening in a textarea on a DCT. Eg
If I switch to HTML input format using VFE and enter
"Testing Rich Text"
(There's actually a B tag wrapped around the Text above)
When the DCR saves it is saved as
Testing Rich Text
(There is an ampersand lt; and an ampersand gt; in the above line with corrpsponding closing ampersands lt; gt; , the browser is being smart here)
Find more posts tagged with
Comments
Valentine
at one point in tie the html tags will be encoded, either by VFE or when the DCR is saved.
Since DCR is just simple XML file, the html tags will be treated as dcr elements, and thus they have to be encoded.
You can always change the behaviour in your tpls ... (HTML::Entities perl module)