X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/60c5e793605b686472a76353135d7173a884fb73..72e074d8958e36b4859f28f0996bed42c71d9cb0:/doc/plugins/toggle/discussion.mdwn?ds=sidebyside

diff --git a/doc/plugins/toggle/discussion.mdwn b/doc/plugins/toggle/discussion.mdwn
index 22a09685d..ac22e7eb6 100644
--- a/doc/plugins/toggle/discussion.mdwn
+++ b/doc/plugins/toggle/discussion.mdwn
@@ -1,4 +1,4 @@
-# Nested plugins
+## Nested plugins
 
 Is it possible to use another plugin into your toggle plugin? For example,
 I want to have toggleable table and try to use Victor Moral's table plugin,
@@ -14,4 +14,30 @@ but no success. How can I do it?
 >> --PTecza
 
 
-# [[bugs/Bug_when_toggling_in_a_preview_page]]
+## [[bugs/Bug_when_toggling_in_a_preview_page]]
+
+----
+
+## Using toggle directives in a list item##
+Take this code snippet.
+
+    * [[!toggle id="test" text="test"]]
+      [[!toggleable id="test text="""toggle"""]]
+
+In the HTML-output the `ul` and `div` overlap.
+
+    <div id="content">
+    <ul>
+    <li><a class="toggle" href="#test.test">test</a>
+    <div class="toggleable" id="test.-test"></li>
+    </ul>
+    
+    <p>toggle</p>
+    
+    </div>
+    
+    </div>
+
+Fixing this manually the Javascript seems not to be working and `toggle` is shown unconditionally.
+
+I do not know if this is due to [[shortcomming with nested preprocessor directives|todo/nested_preprocessor_directives]] you mentioned in the beginning of this page. Maybe a note could be added to the main page of the plugin. --Paul