HTML encoding
Ksoso opened this issue · comments
Krzysztof Sosiński commented
Hi,
First of all, thanks for great work with easy to handle java library.
I got problem, i can't render euro money (€) sign with withText()
method. It is even possible to put into tags some special characters ?
David commented
Hi @Ksoso, which version are you using?
0.5.0 had a very naive escaping method, but 0.7 uses Apache Commons. You can always use with(unsafeHtml("€"))
to avoid escaping altogether.
Krzysztof Sosiński commented
It's working great, thanks.