Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
6.4
-
N/A
-
N/A
-
Description
To reproduce:
- Create a page in xwiki/2.1 syntax with
as ##{{{something}}}## - Edit in wysiwyg editor and save
- You get "assomething" displayed (the space has vanished).
To analyse the problem create a page with the following content:
{{velocity}}
#set ($xdom = $services.rendering.parse('as ##{{{something}}}##', 'xwiki/2.1'))
#set ($wiki = $services.rendering.render($xdom, 'xwiki/2.1'))
$wiki
#set ($xhtml = $services.rendering.render($xdom, 'xhtml/1.0'))
$xhtml
#set ($xdom2 = $services.rendering.parse($xhtml, 'xhtml/1.0'))
$services.rendering.render($xdom2, 'xwiki/2.1')
{{/velocity}}
This results in:
as something <p>as <tt><tt class="wikimodel-verbatim">something</tt></tt></p> assomething
Attachments
Issue Links
- duplicates
-
XRENDERING-439 White space removed after verbatim block when going through the WYSIWYG editor
-
- Closed
-