Tags:
create new tag
, view all tags

Question

Take a look at SandBox24. Edit it and click Preview. The table of contents will be screwed up. If you go back, remove the parens from the WikiWord and preview again, it looks fine. Only happens when the WikiWord is parenthesized in a list. In case my example doesn't work, here is the code to make it happen:

---+ Title

%TOC%

---++ Header

   * Problem: (WikiWord)

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, AccessStatsPlugin, BatchUploadPlugin, CommentPlugin, DatabasePlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, RedirectPlugin, RevisionLinkPlugin, SendProgressPlugin, SlideShowPlugin, SmiliesPlugin, SourceHighlightPlugin, TWikiDrawPlugin, TablePlugin, TreeBrowserPlugin, TreePlugin, TwistyPlugin, WysiwygPlugin
Server OS: RedHat Enterprise 3
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: MS Windows XP SP2
Web Browser: Firefox 2.0.0.3 and IE6
Categories: Forms, Fatal error, Skin

-- KirkMartinez - 27 Apr 2007

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

What are parens?

-- ArthurClemens - 27 Apr 2007

the ( and ) - rather obvious bug if you follow the instructions frown

rather scary that the following TML can screw up preview so completely

---+ Title

%TOC%

---++ Heading

   * Problem: (SandBox24)

new Bug entry Bugs:Item3983 created

-- SvenDowideit - 27 Apr 2007

If I may... I've done a bit of testing and found some more info...

Any time a WikiWord (or auto-linked topic title, regardless of WikiWordness) is prefixed with a (, the TOC breaks during Preview.

See examples on SandBox24

-- DustinGooding - 23 May 2007

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-05-23 - DustinGooding
 
  • 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.