Re: <br> will be translated to <br> after html-generation
Jacob Kjome <[email protected]> Wed, 6 Apr 2005 14:22:53 -0500
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
I take it you are returning strings with markup in them already? BComponent (I think it is on BCOmponent? Or maybe BText?) has a method called something like setAllowMarkupInText(). What this does, behind the scense, is use a CDATA section to add the text to the DOM. It remains unprocessed and will pass through rendering as is with no escaping. The risk is that if the markup is not well formed or valid, your rendered content won't be well formed or valid. That's the risk, but if the benefit outweighs the risk, then go with it. Jake Quoting Bruno Schwyter <[email protected]>: > Hi > > During processing the "Dir::Get_Data.ListMetaData.Title" the generatet > html-site contains "test<br>einlieferer" instead of > "test<br>einlieferer" as value of Title. I get the same error using <br> and > <BR>. > > What's wrong? > > regards > Bruno > >
message.footer
(text/plain, 110 B)
-- Barracuda mailing list [email protected] http://www.objectweb.org/wws/lists/projects/barracuda