Tags:
create new tag
view all tags

Question

Hi, I noticed that

This renders OK!

but that:

Invisible Exclamation Marks

occur when more than one consecutive ! is typed in any heading level. Since multiple exclamation marks render OK in plain text, I wonder if this is a feature of some sort. Why don't they render in headings?

Environment

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

-- JosMaccabiani - 30 Jun 2005

Answer

The first ! is a replacement for <nop> but I can't explain why this makes the second ! disappear. Especially because both ! are shown in the table of contents (%TOC%)

Hidden Heading

This heading is not shown in the table of contents due to the double !! before the headline text. Maybe that's the reason why your double !! disappear.

-- FranzJosefSilli - 30 Jun 2005

he doesn't have !! before the header text, it's after! please file a BugReport

-- WillNorris - 03 Jul 2005

No, this is a feature, not a bug. 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).

-- PeterThoeny - 04 Jul 2005

I so hope you are making a joke here Peter!!

-- SvenDowideit - 04 Jul 2005

No, this is useful, and in fact used in at least two TWiki installations I have seen. It is also 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

-- PeterThoeny - 04 Jul 2005

Two consecutive ! are bad practice anyway. wink

-- FranzJosefSilli - 04 Jul 2005

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

-- SvenDowideit - 04 Jul 2005

Just for the record I already filed the bug report under InvisibleMultipleExclamationMarksInHeader before Peter made his comments. I would say that the support question is answered by Peter's reply and any continuation is done in Codev?

-- JosMaccabiani - 04 Jul 2005

(Thanks all for replying! smile )

-- JosMaccabiani - 04 Jul 2005

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2005-07-04 - JosMaccabiani
 
  • 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.