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

Item5175: Unescaped <literal> in source code comments causes the rest of a DotPm topic to be rendered incorrectly

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Documentation Low New   n/a  

Edit Form Data

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

Detail

When TWikiRenderDotPm is generated it has a formatting error in it becuase of an unescaped &lt;literal> in the comments in the source code.

You can see the errant text with "http://twiki.org/cgi-bin/view/TWiki04/TWikiRenderDotPm?raw=on"

Here is raw text (around line 1507 in revision 16112)

And if you set $newtag to '', we replace the taken out block with the
 valuse itself
 * which i'm using to stop the rendering process, but then at the end
 put in the html directly
   (for <literal> tag.
 

That "<literal>", even though not at the beginning of the line !, causes the rest of the topic to be not-formatted.

The fix is trivial - a few lines earlier (1499 ... 1501) it was done correctly.

-- TWiki:Main/AntonAylward - 28 Dec 2007

Wow, Anton is back smile

-- TWiki:Main.MichaelDaum - 28 Dec 2007

ItemTemplate
Summary Unescaped <literal> in source code comments causes the rest of a DotPm topic to be rendered incorrectly
ReportedBy TWiki:Main.AntonAylward
Codebase 4.0.0
SVN Range

AppliesTo Engine
Component Documentation
Priority Low
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

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