aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/toggle.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-08-12 14:29:22 -0400
committerJoey Hess <joey@kitenet.net>2010-08-12 14:29:22 -0400
commita68241838b37cd40eaedb917330412c19491ca70 (patch)
tree1815d721710bebefb190132e134c426d84e50ff7 /IkiWiki/Plugin/toggle.pm
parent292e820974fd308148841b1714967619d4acba59 (diff)
downloadikiwiki-a68241838b37cd40eaedb917330412c19491ca70.tar
ikiwiki-a68241838b37cd40eaedb917330412c19491ca70.tar.gz
correct comment; javascript is put after <body>
Diffstat (limited to 'IkiWiki/Plugin/toggle.pm')
-rw-r--r--IkiWiki/Plugin/toggle.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/toggle.pm b/IkiWiki/Plugin/toggle.pm
index 20967d3fd..1f93f87fe 100644
--- a/IkiWiki/Plugin/toggle.pm
+++ b/IkiWiki/Plugin/toggle.pm
@@ -69,7 +69,7 @@ sub format (@) {
if ($params{content}=~s!(<div class="toggleable(?:-open)?" id="[^"]+">\s*)</div>!$1!g) {
$params{content}=~s/<div class="toggleableend">//g;
if (! ($params{content}=~s!^(<body[^>]*>)!$1.include_javascript($params{page})!em)) {
- # no </body> tag, probably in preview mode
+ # no <body> tag, probably in preview mode
$params{content}=include_javascript($params{page}, 1).$params{content};
}
}