2 namespace TYPO3\CMS\Fluid\Core\Parser\Interceptor;
49 public function process(\TYPO3\CMS\
Fluid\Core\Parser\SyntaxTree\NodeInterface $node, $interceptorPosition, \TYPO3\CMS\
Fluid\Core\Parser\
ParsingState $parsingState)
52 if (!$node->getUninitializedViewHelper()->isEscapingInterceptorEnabled()) {
53 $this->interceptorEnabled =
false;
54 $this->viewHelperNodesWhichDisableTheInterceptor[] = $node;
57 if (end($this->viewHelperNodesWhichDisableTheInterceptor) === $node) {
58 array_pop($this->viewHelperNodesWhichDisableTheInterceptor);
59 if (count($this->viewHelperNodesWhichDisableTheInterceptor) === 0) {
60 $this->interceptorEnabled =
true;
63 }
elseif ($this->interceptorEnabled && $node instanceof \TYPO3\CMS\
Fluid\Core\Parser\SyntaxTree\ObjectAccessorNode) {
64 $escapeViewHelper = $this->objectManager->get(\TYPO3\CMS\
Fluid\ViewHelpers\Format\HtmlspecialcharsViewHelper::class);
65 $node = $this->objectManager->get(
66 \TYPO3\CMS\
Fluid\Core\Parser\SyntaxTree\ViewHelperNode::class,
68 array(
'value' => $node)