Foswiki on GitHub is open for business! Next release meeting: Monday September 15, 1300Z

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

 

ItemTemplate edit

Summary WYSIWYG edit multiplies br tags in literal block
ReportedBy MichaelTempest
Codebase 1.0.9, trunk
SVN Range
AppliesTo Engine
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins Foswikirev:8812
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r6 - 04 Oct 2010, KennethLavrsen
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License