aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-06 05:41:38 +0200
committerSem <sembrestels@riseup.net>2012-08-06 05:41:38 +0200
commit7501386cae810224b093b99536a7580a4b7227c8 (patch)
tree118889e9cf8b37a80bf6dfec77344f53c0a012d2 /views/default
parent1e7b0a55af150794457b2ed77b30d4e4129325f3 (diff)
downloadelgg-7501386cae810224b093b99536a7580a4b7227c8.tar.gz
elgg-7501386cae810224b093b99536a7580a4b7227c8.tar.bz2
Fixes #4786. Adds a CDATA structure in the script tag in the head.
Diffstat (limited to 'views/default')
-rw-r--r--views/default/page/elements/head.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/page/elements/head.php b/views/default/page/elements/head.php
index e968e95ce..1eb2be088 100644
--- a/views/default/page/elements/head.php
+++ b/views/default/page/elements/head.php
@@ -66,7 +66,9 @@ $release = get_version(true);
<?php } ?>
<script type="text/javascript">
+// <![CDATA[
<?php echo elgg_view('js/initialize_elgg'); ?>
+// ]]>
</script>
<?php
@@ -76,4 +78,4 @@ $metatags = elgg_view('metatags', $vars);
if ($metatags) {
elgg_deprecated_notice("The metatags view has been deprecated. Extend page/elements/head instead", 1.8);
echo $metatags;
-} \ No newline at end of file
+}