I'd just write my own component, SpecialOutput, which splits the input on
CRLF and uses MarkupWriter.write(...) for text you want escaped and
MarkupWriter.writeRaw(...) for text you don't want escaped.

IMHO I think that using paragraph tags (<p>...</p>) is more semantic than
<br />



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t5-3-6-HTML-encode-text-tp5719795p5719799.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to