diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-03 12:42:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-03 12:42:04 -0400 |
commit | bfc13b9070981ba3cd73b901af9c29a50ca0114d (patch) | |
tree | 70b3628ebcabd9f6194b99e4ac6a36bc61527f19 /IkiWiki | |
parent | 426ed67b32c625a9274d71b02a879b82a5a7ee39 (diff) | |
download | ikiwiki-bfc13b9070981ba3cd73b901af9c29a50ca0114d.tar ikiwiki-bfc13b9070981ba3cd73b901af9c29a50ca0114d.tar.gz |
osm: Remove invalid use of charset on embedded javascript tags. Closes: #731197
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/osm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/osm.pm b/IkiWiki/Plugin/osm.pm index c9650d014..b8255bb13 100644 --- a/IkiWiki/Plugin/osm.pm +++ b/IkiWiki/Plugin/osm.pm @@ -507,7 +507,7 @@ sub include_javascript ($) { } } if ($loader) { - return embed_map_code($page) . "<script type=\"text/javascript\" charset=\"utf-8\">$loader</script>"; + return embed_map_code($page) . "<script type=\"text/javascript\">$loader</script>"; } else { return ''; @@ -534,7 +534,7 @@ sub cgi($) { print "<html><body>"; print "<div id=\"mapdiv-$map\"></div>"; print embed_map_code(); - print "<script type=\"text/javascript\" charset=\"utf-8\">"; + print "<script type=\"text/javascript\">"; print map_setup_code($map, $map, lat => "urlParams['lat']", lon => "urlParams['lon']", |