From a68241838b37cd40eaedb917330412c19491ca70 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Aug 2010 14:29:22 -0400 Subject: correct comment; javascript is put after --- IkiWiki/Plugin/toggle.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin/toggle.pm') 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!(
\s*)
!$1!g) { $params{content}=~s/
//g; if (! ($params{content}=~s!^(]*>)!$1.include_javascript($params{page})!em)) { - # no tag, probably in preview mode + # no tag, probably in preview mode $params{content}=include_javascript($params{page}, 1).$params{content}; } } -- cgit v1.2.3