• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4969: BR can break list conversion

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Normal Closed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


A BR embedded in a list can prevent the list from being converted back to TML. This is especially bad in its effects on IE.

The following HTML demonstrates the problem

<ul><li>l <br>n
<li> U

Reported by TWiki:Main.KennethLavrsen - see http://merlin.lavrsen.dk/twiki42/bin/view/QMS/BugTopic1 and the previous rev

-- TWiki:Main/CrawfordCurrie - 14 Nov 2007

The same problem occurs with <hr>, and it can be reproduced with Firefox.

table element with a
horizontal rule
| table element with a <hr /> horizontal rule |
In TML tables one can't use ---- for horizontal rules!

-- TWiki:Main.HaraldJoerg - 14 Nov 2007

Well spotted, thanks! The problem is use of <hr> rather than <hr />, because the parser does a bad job of handling tags that have an open but no close. So I have had to add some auto-closing logic.


Summary BR can break list conversion
ReportedBy TWiki:Main.KennethLavrsen

SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed

Checkins TWikirev:15617 TWikirev:15618
TargetRelease n/a

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-11-16 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback