[ 
https://issues.apache.org/jira/browse/JSPWIKI-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12555182
 ] 

Dirk Frederickx commented on JSPWIKI-111:
-----------------------------------------

This is indeed by design. (introduced rather late in v2.5.xx)

TOC's are floated left, and only clear left-positioned blocks. (css:  
float:left; clear:left; )

This is done to allow them to be aligned next to %%commentbox's, which are 
floated right.  (check out http://www.jspwiki.org/wiki/JSPWikiDownload  to see 
the effect)

If you don't want text to float next to the TOC, insert a forced line-break 
(\\) which has a 'clear:both'  css style.

Typically, a TableOfContents would be followed by a header line (!, !! or !!!) 
which would automatically clear the line.



> TableOfContents Plugin does not clear
> -------------------------------------
>
>                 Key: JSPWIKI-111
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-111
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Plugins
>    Affects Versions: 2.6.0
>            Reporter: Christoph Sauer
>            Assignee: Dirk Frederickx
>            Priority: Minor
>
> If you use text directly after the TableOfContents plugin, that is not a 
> heading, this text will be displayed right beside the TOC instead below. 
> Seems like a css clear is missing? (don't want to touch the css though)
> <<TableOfContents>>
> This text is displayed wrong (right beside the TOC)
> == Heading 1

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to