Details
- 
    Bug 
- 
    Resolution: Fixed
- 
    Major 
- 
    1.9.3, 2.0 M3
- 
    None
- 
    any
- 
        verbatim
- 
        Unit
- 
        Unknown
- 
        
Description
The following verbatim block:
{{{one
two}}}
is translated into:
<pre>one two</pre>
which is rendered fine in view mode (the space between one and two is in fact a new line). Firefox replaces the new lines with a BRs in edit mode so when you save from WYSIWYG this:
<pre>one<br/>two</pre>
is translated into:
\\
{{{onetwo}}}
So it seems the verbatim block is recomputed using only the inner text and the BRs are parsed separately.
Attachments
Issue Links
- blocks
- 
                    XWIKI-4364 Verbatim blocks suffer corruption when previewed using the GWT editor -         
- Closed
 
-