[ 
https://issues.apache.org/jira/browse/JSPWIKI-638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated JSPWIKI-638:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>              Labels: pull-request-available
>
> 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 was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to