NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item9579: WYSIWYG edit multiplies br tags in literal block
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Engine |
WysiwygPlugin |
|
A TML->HTML->TML roundtrip multiplies <br/> tags inside <literal> blocks.
<literal>X<br />Y</literal>
... becomes ...
<literal>X<br></br>Y</literal>
... which becomes ...
<literal>X<br></br><br></br>Y</literal>
The
TML2HTML conversion is fine. The
HTML2TML conversion causes the problem. It changes <br /> to <br></br>.
This problem exists in 1.0.9 and trunk.
--
MichaelTempest - 28 Aug 2010
There's more. The
HTML2TML conversion converts <img.../> to <img...></img> which is not valid HTML.
It also converts <br id="foo"/> to <br id="foo"></br>
--
MichaelTempest - 28 Aug 2010