@@ -32,7 +32,7 @@ |
||
32 | 32 | ->addDebugInfo($this) |
33 | 33 | ->write("ob_start();\n") |
34 | 34 | ->subcompile($this->getNode('body')) |
35 | - ->write('$extension = $this->env->getExtension(\'\\voku\\twig\\AntiXssExtension\');' . "\n") |
|
36 | - ->write('echo $extension->xss_clean(ob_get_clean());' . "\n"); |
|
35 | + ->write('$extension = $this->env->getExtension(\'\\voku\\twig\\AntiXssExtension\');'."\n") |
|
36 | + ->write('echo $extension->xss_clean(ob_get_clean());'."\n"); |
|
37 | 37 | } |
38 | 38 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * @param array $nodes |
18 | 18 | * @param array $attributes |
19 | 19 | * @param int $lineno |
20 | - * @param null $tag |
|
20 | + * @param string $tag |
|
21 | 21 | */ |
22 | 22 | public function __construct(array $nodes = [], array $attributes = [], $lineno = 0, $tag = null) |
23 | 23 | { |