Item9579: WYSIWYG edit multiplies br tags in literal block

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component: WysiwygPlugin
Branches:
Reported By: MichaelTempest
Waiting For:
Last Change By: KennethLavrsen
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 distro:dbad4e87892f
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 Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy