From: http://kaizer.se/ <http://kaizer.se/@web>
Date: Sat, 19 Sep 2009 00:07:34 +0000 (-0400)
Subject: Toggle inserts javascript in wrong place
X-Git-Tag: 3.14159265~17
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ada46376cc91c754710fea138f619de72d042ec2?hp=-c

Toggle inserts javascript in wrong place
---

ada46376cc91c754710fea138f619de72d042ec2
diff --git a/doc/bugs/toggle_expects_body_element_without_attributes.mdwn b/doc/bugs/toggle_expects_body_element_without_attributes.mdwn
new file mode 100644
index 000000000..6cb03e934
--- /dev/null
+++ b/doc/bugs/toggle_expects_body_element_without_attributes.mdwn
@@ -0,0 +1 @@
+The toggle plugins checks for a `<body>` in the page; if not found, javascript tags are inserted at the top of the document. Since my page uses `<body onload="javascript:fixLinks()">`; a plain `<body>` is not found and I get script links before the docstring declaration. Please see the source of the following toggle-using page: http://kaizer.se/wiki/kupfer/ -- ulrik [kaizer.se]