Tags:
create new tag
, view all tags

Bug: Two or more !'s at the end of a header are not rendered

See Support.ExclamationMarkInTitle

Test case

See the following headers:

---+++ Exclamation works!
---+++ Exclamation doesn't work!!
---+++ Exclamation work again! !!

Exclamation works!

Exclamation doesn't work

Exclamation work again!

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat 9
Web server: Apache 1.33
Perl version: 5.8.5
Client OS: Win2K
Web Browser: IE6

-- JosMaccabiani - 03 Jul 2005

Impact and Available Solutions

Follow up

This is actually a useful feature, not a bug. It was discussed an agreed on in SpecificHeadingsExcludedFromTOC. Sometimes it is useful to add some content to a topic that should not show up in the TOC, e.g. an edit icon (for composed docs with includes).

This is in fact used in at least two TWiki installations I have seen. It is documented as such in TextFormattingRules: "Any heading text after !! is excluded from the TOC"

Example usage:

Example heading with excluded icon     Edit this section

The following would be placed in WebPreferences:

  • Set EDITICON =     Edit this section

You could create a big composed doc where each INCLUDEd topic can be edited easily.

-- PeterThoeny - 04 Jul 2005

i'd agree that it sounds useful - but its not what you would call intuative :O

-- SvenDowideit - 04 Jul 2005

OK, i see. i never thought about useful implementations other than

---+!!

Since the exclamation mark is common in everyday language it's maybe not the most obvious choice from an end user perspective.

Otherwise the current implementation is elegant.

-- JosMaccabiani - 04 Jul 2005

i also didn't consider anything other than

---+!!
and i would like to change the spec so that only that form is used to suppress TOC entries. therefore, i'm changing this to a FeatureRequest instead of a BugReport

-- WillNorris - 04 Jul 2005

Fix record

Discussion

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2005-07-04 - WillNorris
 
  • 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.