Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
1.6, 1.6.1
-
None
-
macro toc getTOC syntax heading
-
Description
old heading syntax:
1 for heading1
1.1 for heading 2
1.1.1 for heading 3
...
the toc macro works with this old syntax
new syntax:
<h1></h1> for heading 1
<h2></h2> for heading 2
...
the toc macro doesn't work with this new syntax
i've tested it with the selection "XWiki 1.0" (yes, 1.0) in the page syntax dropdown box with xwiki 1.6 and 1.6.1.
seems like the method $tdoc.getTOC only looks for the "old" syntax.