summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-04-17 21:47:15 +0200
committerJoey Hess <joey@kitenet.net>2011-04-17 17:56:52 -0400
commit338e49df1533e09a8ba3f1225f75a2bf4deaf4a8 (patch)
tree8b0bc0bd28e8f9f445ae0cce3b19aebb90c82667 /IkiWiki/Plugin
parentacb9d9bf1055383f3fdb9b888e82eef0134f3e02 (diff)
Fix syntax of recently added JavaScript syntax in meta.pm (<script /> apparently does not work).
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/meta.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm
index 434fde527..cd6fa20ba 100644
--- a/IkiWiki/Plugin/meta.pm
+++ b/IkiWiki/Plugin/meta.pm
@@ -187,7 +187,7 @@ sub preprocess (@) {
error gettext("script not found");
}
push @{$metaheaders{$page}}, scrub('<script src="'.urlto($js, $page).
- '"' . $defer . $async . ' type="text/javascript" />',
+ '"' . $defer . $async . ' type="text/javascript"></script>',
$page, $destpage);
}
elsif ($key eq 'openid') {