• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

See Image7.gif

Not sure if this is a content issue in TestCases.WebLeftBar, or an issue in the core.

-- PTh

It's a bug in the way TOC works. It processes the entire rendered topic, which includes <style> tags in the testcases web. These style sections have CSS that matches the headerPatternSp RE, using the compatibility support for # headers (which have never been deprecated so cannot be removed).

I have removed the (undocumented) headerPatternSp heading syntax. This removes the risk of someone stumbling over the syntax again, and it was never documented anyway.

Note that because of the way TOC works it can still match lines in comments, or possibly other lines in style or script tags. Because of the inherent line-by-line processing it performs, it should be re-implemented as a preRenderingHandler in a plugin.

SVN 8243


could the existing (core) code not be retired in favour of the TWiki:Plugins.TocPlugin ?


Summary Sidebar of TestCases web has broken TOC
ReportedBy PeterThoeny

SVN Range Tue, 10 Jan 2006 build 8208
AppliesTo Engine

Priority Normal
CurrentState Closed

Checkins 8243
Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif Image7.gif r1 manage 29.8 K 2006-01-12 - 06:41 PeterThoeny  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2006-01-13 - WillNorris
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback