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