diff options
author | Steve Clay <steve@mrclay.org> | 2012-08-17 12:47:24 -0700 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-08-17 12:47:24 -0700 |
commit | 2c6403a38d45408892c7295157714ef55cbc1bbc (patch) | |
tree | 91c38d2fbfd66bc651757d26c7f8dccacac48b96 /views/default | |
parent | 80503063db52421daf11b9de286d63e50b0997cf (diff) | |
parent | 7501386cae810224b093b99536a7580a4b7227c8 (diff) | |
download | elgg-2c6403a38d45408892c7295157714ef55cbc1bbc.tar.gz elgg-2c6403a38d45408892c7295157714ef55cbc1bbc.tar.bz2 |
Merge pull request #357 from sembrestels/cdata
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.php | 4 |
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 +} |