Home
TeamSite
How to stop html tags entered with tinyMCE from being escaped?
tanguyr
Hello All,
First off, apologies if this isn't the appropriate place for my question. I am *very* new to Teamsite as i am just finishing my first week evaluating the product. If there is a better place that i should have checked before bothering you all please don't hesitate to tell me.
The below is for Teamsite 6.7.1 / LiveSite 3.0 on Solaris 10
my question:
I have written a component that publishes information drawn from a series of simple Forms Entries. I wrote the datacapture.cfg file and specified the structure of my data files, including a "textarea" to be edited with tinyMCE. All of this is working fine and dandy, i can create new Form Entries, etc. etc. The problem is on the output side: the html tags that are being created in the rich text area widget are being escaped somewhere, so they are displayed verbatim (ie the tags themselves are visible) in the text output of the component and the markup is being ignored. I checked in the content.xml of the component (assigned some DCRs in the preview window) and the tags are already escaped - so this seems to be happening before the xsl transformation.
I have created other components (w/out using DCRs) that have such rich text areas, and there the tags are *not* being escaped...
Any help would be much appreciated.
Regards,
/t
Find more posts tagged with
Comments
tanguyr
Hello All,
Me again - just to say that i got the solution from the IW sales guy (big thanks to Cyrille Briand from IW France): use a disable-output-escaping="yes" attribute in the xsl:value-of tag used to pull the content in. I didn't realize that you could "reverse" the escaping of characters from the content payload.
Regs,
/t