I tried that method.
source.setTitle(StringEscapeUtils.unescapeHtml(NewDocumentName));
But if there are more than 2 spaces in a row, it doesn't work. It gives the
following:
My Process 3
In that one, there was 2 spaces between Prcess and the number 3. Any ideas
why?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Decode-HTML-tp7589862p7589874.html
Sent from the XWiki- Dev mailing list archive at
Nabble.com.