\*\%TOC\%\*
or
\<b\>\%TOC\%\</b\>
gets converted into:
\*
\%TOC\%\*
--
TWiki:Main/HunterMoseley - 22 Apr 2008
\*\%TOC\%\*
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