XHtmlElementToWikiTranslator removes newlines
---------------------------------------------
Key: JSPWIKI-638
URL: https://issues.apache.org/jira/browse/JSPWIKI-638
Project: JSPWiki
Issue Type: Bug
Components: Editors
Affects Versions: 2.8.3
Reporter: Jürgen Weber
Priority: Minor
I tried to append an html source using rpc to JSPWiki.
a browser renders <html>hello\nworld</html> as "hello world"
but HtmlStringToWikiTranslator creates a wiki text of helloworld without a
blank.
I suggest to change
com.ecyrd.jspwiki.htmltowiki.XHtmlElementToWikiTranslator.print(Object)
the line after // remove all "line terminator" characters
replace with blank instead of empty string.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.