I accidentally included the comments block in a Heading 3 section of a test wiki. The TOC block showed Javascript
in the matching location.
|
3
|
|
|||
|
|
|
3
|
Yikes...that's not very pretty at all. Well, technically, the TOC plugin is doing exactly what it's supposed to be doing: grab anything inside of header tags and display it in its navigation bar. Obviously including 15-20 lines of JavaScript isn't particularly helpful though. :/ The easiest way to correct this is probably by editing the HTML of your wiki page to remove the I've also filed a case to make the TOC plugin smarter in these kinds of circumstances. We'll probably change it to a) limit the length of text it will include for any given header and b) also potentially strip out script tags (and potentially other non-text tags). Thank you for reporting this! |
||
|
|