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