testarea mediaytpe="html" modification in data storage to stop escaping the html

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

testarea mediaytpe="html" modification in data storage to stop escaping the html

JohnBampton
Hello,

I have come across a problem using the rte textarea mediatype=html.

I notice that is stores the resulting html as escaped markup i.e.  <br/>

How can I change this so that the html is stored not escaped? ie. <br/> 
Reply | Threaded
Open this post in threaded view
|

Re: testarea mediaytpe="html" modification in data storage to stop escaping the html

JohnBampton
escaped markup like < br /gt;
Reply | Threaded
Open this post in threaded view
|

Re: testarea mediaytpe="html" modification in data storage to stop escaping the html

JohnBampton
Don't worry i figured it out after a while, I just use java replace function to replace these escaped tags with the real unescaped ones.  Now I can use xsl-fo to convert to pdf.

Thanks anyway
Reply | Threaded
Open this post in threaded view
|

Re: Re: testarea mediaytpe="html" modification in data storage to stop escaping the html

Erik Bruchez-3
John,

This is by design. You can do the escaping as you suggest (although
that might not be 100% safe.)

You could also use from XForms the saxon:parse() function.

-Erik

On Wed, Feb 17, 2010 at 9:13 PM, JohnBampton <[hidden email]> wrote:

>
> Don't worry i figured it out after a while, I just use java replace function
> to replace these escaped tags with the real unescaped ones.  Now I can use
> xsl-fo to convert to pdf.
>
> Thanks anyway
> --
> View this message in context: http://n4.nabble.com/testarea-mediaytpe-html-modification-in-data-storage-to-stop-escaping-the-html-tp1559588p1559659.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws