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

Item5558: problem with bolding %TOC%

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Normal No Action Required   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:



gets converted into:

-- TWiki:Main/HunterMoseley - 22 Apr 2008


Looks all right to me; can you give a bit more detail please e.g. exactly what you typed and where you typed it.

-- TWiki:Main.CrawfordCurrie - 22 Apr 2008

I entered the text ** in the raw edit in both TWiki 4.1.2 and 4.2.0 . When I edit again in the WYSIWIG editor of 4.2.0, it adds a line break between the first asterisk and the the * I ended up using the following to handle the problem: *%TOC* But I have not updated all of my pages with this yet.

-- TWiki:Main.HunterMoseley - 06 May 2008

I entered the text \*\%TOC\%\* in the raw edit of both TWiki 4.1.2 and 4.2.0. When I edit again in the WYSIWYG editor of 4.2.0, it adds a line break between the first asterisk and the \%TOC\%\*. I ended up using \<stick\>\*\%TOC\%\*\<\\sticky\> to get around the problem.

-- TWiki:Main.HunterMoseley - 06 May 2008

Looked at this one.

First it is not correct that putting * around a TOC tag should produce a bolded TOC. The TOC tag returns multiple lines unless there is exactly one header line. TML does not define bold using asterix unless the text in on the same line without a new line

The Wysiwyg interprets >b> and >/b> tag pairs into TML. If there are multiple lines each line gets it own asterix pair.

But Wysiwyg cannot know what happens when a twikivar is expanded.

I do not see any good solution to this that would not break other cases.

I think the sticky solution is the correct one to use. I am setting to No Action

The the case of the TOC tag Wysiwyg cannot possible know.

-- TWiki:Main.KennethLavrsen - 11 Jun 2008

Summary problem with bolding %TOC%
ReportedBy TWiki:Main.HunterMoseley
Codebase 4.2.0
SVN Range TWiki-5.0.0, Tue, 15 Apr 2008, build 16676
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState No Action Required


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2008-06-11 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback