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

Item6590: Verbatim tag in form field renders page in plain text

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Confirmed   n/a  

Edit Form Data

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

Detail

We had one support question TWiki:Support.SID-00981 that was rendered as plain text because the Title form field had a <verbatim> tag in it.

Screenshot:
screen-verbatim.png

Raw HTML looks like this:

<head>
<link rel="stylesheet" href="/p/pub/TWiki05x00/JQueryPlugin/jquery-all.css" type="text/css" media="all" />
<script type="text/javascript" src="/p/pub/TWiki05x00/JQueryPlugin/jquery-all.js"></script>
<link rel="stylesheet" href="http://twiki.org/p/pub/TWiki05x00/HeadlinesPlugin/style.css" type="text/css" media="all" />
<title>   
<p />
<p />
<span class='twikiAlert'>
            IF{ "'TopicCryptPlug doesn't handle <pre> after upgrade&#39;&#61;&#39;&#39;&#34; else&#61;&#34;&#60;nop&#62;TopicCryptPlug doesn&#39;t handle &#60;verbatim&#62; after upgrade&#34; then&#61;&#34;&#60;nop&#62;SID-00981&#34; }: Syntax error in &#39;&#39;TopicCryptPlug doesn&#39;t handle &#60;verbatim&#62; after upgrade&#39;&#61;&#39;&#39;&#39; at &#39;t handle &#60;verbatim&#62; after upgrade&#39;&#61;&#39;&#39;&#39; 

&#60;/span&#62; &#38;lt; Trash &#38;lt; &#60;nop&#62;TWiki&#60;/title&#62;
&#60;meta http-equiv&#61;&#34;Content-Type&#34; content&#61;&#34;text/html; charset&#61;iso-8859-1&#34; /&#62;
...etc...

It looks like the issue is in applying the Title form field conditionally to the HTML title tag. The syntax error is likely due to single quote

-- TWiki:Main/PeterThoeny - 2010-10-05

ItemTemplate
Summary Verbatim tag in form field renders page in plain text
ReportedBy TWiki:Main.PeterThoeny
Codebase 5.0.0, ~twiki4
SVN Range TWiki-5.0.0, Mon, 27 Sep 2010, build 19508
AppliesTo Engine
Component

Priority Normal
CurrentState Confirmed
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt SID-00981.txt r1 manage 1.5 K 2010-10-05 - 06:58 PeterThoeny Problem topic
PNGpng screen-verbatim.png r1 manage 99.3 K 2010-10-05 - 07:02 PeterThoeny Screenshot
Topic revision: r1 - 2010-10-05 - PeterThoeny
 
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