summaryrefslogtreecommitdiff
path: root/plugins/Mapstraction
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Mapstraction')
-rw-r--r--plugins/Mapstraction/MapstractionPlugin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Mapstraction/MapstractionPlugin.php b/plugins/Mapstraction/MapstractionPlugin.php
index daedaf40d..c0c2c5b8e 100644
--- a/plugins/Mapstraction/MapstractionPlugin.php
+++ b/plugins/Mapstraction/MapstractionPlugin.php
@@ -179,7 +179,9 @@ class MapstractionPlugin extends Plugin
}
$action->elementStart('script', array('type' => 'text/javascript'));
+ $action->raw('/*<![CDATA[*/'); // XHTML compat for Safari
$action->raw('var _notices = ' . json_encode($jsonArray));
+ $action->raw('/*]]>*/'); // XHTML compat for Safari
$action->elementEnd('script');
return true;