diff options
author | intrigeri <intrigeri@boum.org> | 2010-08-22 11:05:03 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-08-22 11:05:03 +0200 |
commit | 474b6524e0fe4b4bb3402bf6551bf97be7f3ee1f (patch) | |
tree | f303c5391cb168793bdd8d08265d37900eb96330 /IkiWiki/Plugin/toggle.pm | |
parent | 0055354e3cce1d1fb8ea2ac0d5c67a4c16a2b0b0 (diff) | |
parent | 20ecef4d024f751481645db3aa68d098e1251b19 (diff) | |
download | ikiwiki-474b6524e0fe4b4bb3402bf6551bf97be7f3ee1f.tar ikiwiki-474b6524e0fe4b4bb3402bf6551bf97be7f3ee1f.tar.gz |
Merge remote branch 'upstream/master' into prv/po
Diffstat (limited to 'IkiWiki/Plugin/toggle.pm')
-rw-r--r-- | IkiWiki/Plugin/toggle.pm | 2 |
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}; } } |