diff options
Diffstat (limited to 'phpBB/includes/template/twig/node')
-rw-r--r-- | phpBB/includes/template/twig/node/includejs.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/template/twig/node/includejs.php b/phpBB/includes/template/twig/node/includejs.php index 6fe8e155b7..881636a326 100644 --- a/phpBB/includes/template/twig/node/includejs.php +++ b/phpBB/includes/template/twig/node/includejs.php @@ -24,8 +24,9 @@ class phpbb_template_twig_node_includejs extends Twig_Node $compiler->addDebugInfo($this); $compiler - ->write("\$context['SCRIPTS'] .= '<script type=\"text/javascript\" src=") + ->write("\$context['SCRIPTS'] .= '<script type=\"text/javascript\" src=\"' . ") ->subcompile($this->getNode('expr')) - ->raw(">';\n\n"); + ->raw(" . '\">';\n\n") + ; } } |