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

Item7857: TOC odd behavior with headers containing "!"

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine TOC Normal New      

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

Hello

Since the upgrade to 6.1.0 our users are reporting strange behaviors for some pages that use TOC.

The users are including a "!!" to exclude headers from the TOC. This works.

If a header contains a Wikiword the user adds a "!" in order to disable the Wikiord. In these cases the link to the header from the TOC fails.

In tests if I replace "!" with "NOP" then I see the expected behaviour.

Using the "!" worked in 6.0.2.

Thanks for your feedback.

-- TWiki:Main/PeterJones - 2018-11-12

Update: This was linked with the config setting $TWiki::cfg{Site}{CharSet} and non-wikiword topics.

If a topic exists with the name ABC and this is referred to in the a header of another topic then the header line is messed up

The 6.1.0 version sets $TWiki::cfg{Site}{CharSet} to en_US.ISO-8859-1

Putting this back to iso-8859-1 has cleared the problem.

-- TWiki:Main.PeterJones - 2018-11-27

ItemTemplate
Summary TOC odd behavior with headers containing "!"
ReportedBy TWiki:Main.PeterJones
Codebase 6.1.0
SVN Range TWiki-6.0.2-trunk, Sat, 07 Jul 2018, build 30509
AppliesTo Engine
Component TOC
Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease

ReleasedIn

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2018-11-27 - PeterJones
 
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