Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.1-milestone-1
-
None
-
Unknown
-
Description
When escaping text that contains newlines for XWiki syntax and parsing/rendering the resulting text, newlines are duplicated if the original text contained \r\n as line break. This is because $services.rendering.escape escapes \r\n as
~\r~\n
. For example the input
Hello World Document
becomes
~H~e~l~l~o~ ~ ~W~o~r~l~d~ ~ ~D~o~c~u~m~e~n~t
.
Attachments
Issue Links
- is caused by
-
XWIKI-11979 Add $services.rendering.escape method for escaping XWiki syntax
- Closed