r2 - 11 Feb 2003 - 05:00:00 - PeterThoenyYou are here: TWiki >  Codev Web > UppercaseHeaderTagsRenderedInTOC
Tags:
, create new tag

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 Action Size Date Who Comment
elsepatch TWiki.pm.patch manage 0.6 K 10 Feb 2003 - 19:39 MartyBacke Patch that fixes the TOC tag
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo