Tags:
create new tag
view all tags

Bug: Uppercase Header Tags are Rendered in the TOC

In the previous TWiki releases, any header html tags implemented in uppercase were ignored by the %TOC% tag. For example,

  <H1>Test Cases</H1>

would not be included in the %TOC% tag. Whereas,

  <h1>Test Cases</h1>

would be included.

Now, both style of header tags are incorporated into the %TOC% tag. This breaks backwards compatibility, and in our case many hundreds of pages are effected.

Test case

Environment

TWiki version: 01Feb2003
TWiki plugins:  
Server OS: Solaris 2.8
Web server: Apache
Perl version: 5.8
Client OS: All
Web Browser: All

-- MartyBacke - 10 Feb 2003

Follow up

I don't know if this was changed in the 01Feb2003 TWiki release on purpose, but if not, the attached patch file can be used to fix the lib/TWiki.pm file.

Fix record

That was feature that got documented my a non core team member; it was not meant to be documented but it ended up in the doc. To ease the upgrade pain we will revert to the previous spec but leave it undocumented.

Reverted, in TWikiAlphaRelease and TWiki.org. Also listed in KnownIssuesOfTWiki01Feb2003. Thanks for the patch.

-- PeterThoeny - 11 Feb 2003

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpatch TWiki.pm.patch r1 manage 0.6 K 2003-02-10 - 19:39 UnknownUser Patch that fixes the TOC tag
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-02-11 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.