Tags:
create new tag
, view all tags

Bug: Formatting problem after Verbatim Expands Variables fix

On quite a few pages, e.g. WebRssBase, there is trailing verbatim formatting after the end of a verbatim block. This can be fixed usually by editing the contents of the block to replace one < with &lt;. Presumably the recent changes in the verbatim code (NestedVerbatimTags and VerbatimExpandsVariables) have caused this.

When I commented to VerbatimExpandsVariables in r1.17, the bug was not present (I would have fixed this formatting if present, as I have done on other pages).

Test case

Environment

TWiki version: TWiki.org
TWiki plugins:  
Server OS:  
Web server:  
Perl version:  
Client OS: Win2000
Web Browser: IE6 and Mozilla 0.9.7

-- RichardDonkin - 12 Jan 2002

Fix record

Problem seemed to be to do with substitution of < and >. I've changed from matching pairs to doing them individually. The base of the problem is I'd gotten confused by greedy RegExp and wasn't subsituting correctly. By doing individually things should be fine.

Comments

I updated this TWiki installation to the latest Alpha, indeed it is a bug introduced in the VerbatimExpandsVariables fix. An example affected topic is Plugins.ActionTrackerPluginDev. Please do not edit topics to try to find a workaround, the bug should be fixed. John, could you have a look?

-- PeterThoeny - 12 Jan 2002

Initially I thought this was just something to do with limitations of verbatim then I realised it was a bug - I won't do any more edits, and a bug fix would be very welcome!

-- RichardDonkin - 13 Jan 2002

I'm on the case.

-- JohnTalintyre - 13 Jan 2002

I don't get it. TopicClassification says BugResolved. I click edit and I can't change the TopicStatus to ClosedTopic (from ActiveTopic). Am I missing something? Now I'm really confused because after saving the topic TopicStatus is gone!

-- GrantBow - 18 Oct 2002

Here is why: The TopicStatus has been removed at some point. Older topics still have that form field until you edit the topic - that's when it gets removed.

-- PeterThoeny - 19 Oct 2002

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2002-10-19 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.