]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Toggle inserts javascript in wrong place
authorhttp://kaizer.se/ <http://kaizer.se/@web>
Sat, 19 Sep 2009 00:07:34 +0000 (20:07 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 19 Sep 2009 00:07:34 +0000 (20:07 -0400)
doc/bugs/toggle_expects_body_element_without_attributes.mdwn [new file with mode: 0644]

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 (file)
index 0000000..6cb03e9
--- /dev/null
@@ -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]