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

Item6384: TWiki mishandles HTML comments

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal No Action Required   n/a  

Edit Form Data

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

Detail

A -- within an HTML coment confuses TWiki.

For example, say I have this in my page:

<!--
    Vicki Brown -- 15 Jan 2010
-->

At the company where I work, we use TWiki 4.2.4. The above code will "blow up" the rendering, as the comment will end at -- .

Screenshot

Item6384-1.png


Here at twiki.org, tested in the Sandbox, I don't get a broken page... but I don't get a comment either!

Screenshot

Item6384-2.png

-- TWiki:Main/VickiBrown - 15 Jan 2010

You experience an unfortunate spec of SGML/HTML that most people misunderstand. This is HTML rendered in browser specific, not TWiki TML specific. Explained at http://htmlhelp.com/reference/wilbur/misc/comment.html

-- TWiki:Main.PeterThoeny - 15 Jan 2010

ItemTemplate
Summary TWiki mishandles HTML comments
ReportedBy TWiki:Main.VickiBrown
Codebase ~twiki4
SVN Range TWiki-5.0.0, Sat, 02 Jan 2010, build 18269
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng Item6384-1.png r1 manage 74.0 K 2010-01-15 - 17:16 VickiBrown screenshot 1
PNGpng Item6384-2.png r1 manage 24.9 K 2010-01-15 - 17:18 VickiBrown screenshot 2
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-01-15 - PeterThoeny
 
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