In a localized application I am inserting a phrase from a resource file.
I want the phrase to be on two different lines in HTML, like this:

Some
phrase

So I tried to specify it in the resource file like this:

phrase=Some<br/> Phrase

but Tapestry encodes angle brackets, so in HTML it looks like

&lt;br /&gt;

I tried then to encode them myself:

&lt;br /&gt;

but Tapestry encoded ampersand then, so the whole thing gave

&amp;lt;br/&amp;gt;

Attempts with \n gave nothing. Is there any way to insert a line break
together with a string inserted from a resource file?

Thanx

Alex 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to