twikiToc div and its contained anchors
to be crossed html-wise. Prevoiusly, the closing div was appended to
the last char of the TOC result with the effect that it will be _enclosed _ in the list
that gets rendered later on in getRenderedVersion()
Adding a \n to the TOC before surrounding it with a div fixes that.
The problem showed up by trying to draw a red border arround TOCs using
.twikiToc {border:1px solid red}
Firefox is quite good in rendering crossed html tags. Not so konqueror which drawed
a red border arround the complete topic text.
Note: Patch is attached as http://twiki.org/p/pub/Codev/InvalidHtmlInTOC/TWiki_pm.diff. The patch is against Dakar.
-- MichaelDaum - 28 Mar 2005
| I | Attachment | Action | Size | Date | Who | Comment |
|---|---|---|---|---|---|---|
| | TWiki_pm.diff | manage | 0.4 K | 28 Mar 2005 - 22:01 | MichaelDaum |