Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Becker <halfdan@xnorfz.de>2013-04-07 19:47:23 +0400
committerFabian Becker <halfdan@xnorfz.de>2013-04-07 19:47:23 +0400
commit05a8bb264a19fc9f956fe41fadf7231112de3e0f (patch)
tree515383986677756e0078045f7206f6624d59e425 /core/Twig.php
parente9d6762a91fec0cc574d3c099529aa284a2689c0 (diff)
loadJavascript is now a safe function
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php
index 016ff053de..8fb84d4ba1 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -89,7 +89,7 @@ class Piwik_Twig
$jsCode .= '</script>';
}
return $jsCode;
- });
+ }, array('is_safe' => array('html')));
$this->twig->addFunction($loadJsTranslationsFunction);
$sparklineFunction = new Twig_SimpleFunction('sparkline', function($src) {