• 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.

Item4734: Invalid '<u />' tag generated.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   minor  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Earlier had a user complaining about not being able to type after a link without it being underlined also. The user frantically tried all settings to remove the underline. On save, all text after that point was underlined. On viewing the plaintext, we found a '<u />' tag. This seems to be a self-closing underline tag, but is invalid HTML and caused the whole last half of the document to be underlined.

Is there an optimization to contract "<X></X>" to "<X/>"? If so, there should be a check that X is a valid self-closing tag, and if not, the pair should be deleted.

-- TWiki:Main/BuckGolemon - 27 Sep 2007

I've just generated the exact same problem with this HTML: <blockquote> </blockquote>

Is transformed into: <blockquote />

Which just indents the entire rest of the document.

-- TWiki:Main.BuckGolemon - 02 Oct 2007

Was this supposed to be reported against one of the editors? TinyMCEPlugin perhaps? If so, exactly how do you reproduce it? Is the <u /> in the HTML viewed in the editor, or does it only appear after the save?

CC

Yes, TinyMCEPlugin. The HTML views as '<blockquote> </blockquote>', but saves as <blockquote />. I believe it happens when all the content of a tag is deleted, but the tag remains.

-- TWiki:Main.BuckGolemon - 08 Oct 2007

Raw edit, insert underline with no content here: test.

View raw html in TMCE, can see the u/u. Save.

OK, I see the problem. Confirmed.

Fixed when I fixed the parser (can't remember the checkin number, sorry)

CC

ItemTemplate
Summary Invalid '<u />' tag generated.
ReportedBy TWiki:Main.BuckGolemon
Codebase

SVN Range TWiki-4.3.0, Sat, 22 Sep 2007, build 14996
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins

TargetRelease minor
ReleasedIn

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