Hello
I'm looking for some JDK methods that can convert plain text into html.
For example,
Zero is <b>lower</b> than one: 0 < 1
I want to convert this example into html. Word lower should be bold while signs after < should still appear. This means, the method I am looking for should convert signs like <, > into html special chars.
String htmlText = XXX.convert(plainText);
Thanks if you answer quickly!
Michael Heuberger
from Switzerland