fixed
On Thu, Mar 26, 2009 at 21:12, Vincent Massol <vincent(a)massol.net> wrote:
On Mar 26, 2009, at 8:50 PM, tmortagne (SVN) wrote:
Author: tmortagne
Date: 2009-03-26 20:50:15 +0100 (Thu, 26 Mar 2009)
New Revision: 18050
Added:
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-toc/src/test/resources/macrotoc9.test
Modified:
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-toc/src/main/java/org/xwiki/rendering/internal/macro/
toc/TocMacro.java
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-toc/src/test/java/org/xwiki/rendering/
RenderingTests.java
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-toc/src/test/resources/macrotoc3.test
Log:
XWIKI-3462: TOC not displaying properly
[snip]
Added:
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/
xwiki-rendering-macro-toc/src/test/resources/macrotoc9.test
===================================================================
--- platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-toc/src/test/resources/
macrotoc9.test (rev 0)
+++ platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-toc/src/test/resources/macrotoc9.test 2009-03-26
19:50:15 UTC (rev 18050)
@@ -0,0 +1,129 @@
+.#-----------------------------------------------------
+.input|xwiki/2.0
Maybe a little description here to explain what this test is testing
since it's not immediately obvious.
+.#-----------------------------------------------------
+= Level 1
+
+{{toc start=1 depth=3 numbered=false scope=page /}}
+
+== Level 2a
+
+=== Level 3a
+
+=== Level 3b
+
+= Level 2b
+
+=== Level 3c
[snip]
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs