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

A singular verbatim tag in a form field messes up a TWiki form as seen in Item864. Subsequent form fields are shown verbatim as HTML table tags. See screenshot.

The value of the "Details" form field as saved on disk is as follows: "---+++!! Details%0d%0aMuch improved ...snip... These log sections are surounded by <verbatim> tags so ...snip... Because they are in a &lt;verbatim&gt; section, the &lt;ol&gt; and &lt;li&gt; tags are displayed in the page in the normal view.%0d%0a%0d%0a---+++!! Test Case%0d%0aTest Case%0d%0aThe original:%0d%0a%0d%0a<verbatim>%0d%0a   0:000 : 8a 84 f4 ...snip...%0d%0a</verbatim>%0d%0a%0d%0aOpen the page ...snip... displayed as:%0d%0a%0d%0a<verbatim>%0d%0a<ol>%0d%0a<li> :000 : 8a 84 f4 01 ...snip...%0d%0a</li>%0d%0a</ol>%0d%0a</verbatim>%0d%0a%0d%0aMaybe the leading ...snip..."

-- PTh

This is due to the fact the like Cairo, Dakar compiles the whole topic content before performing TML rendering on it. So the verbatim tag is floating in the middle of the form, and the spec of verbatim is that an unclosed verbatim tag treats the rest of the topic as verbatim.

This is obviously wrong, but the correct fix - to render form data atomically - is high risk. So I'm going to defer this until a proper solution can be coded.


Undeferred, post Dakar CC

Summary Singular verbatim tag messes up bug form
ReportedBy PeterThoeny
SVN Range

AppliesTo Engine

Priority Normal
CurrentState New

TargetRelease major
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-02-13 - 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