输出中的索引搜索extbase htmltags [英] Indexed Search extbase htmltags in output
问题描述
我正在使用TYPO3 7.6.11和indexed_search 7.6.0.
I am using TYPO3 7.6.11 and indexed_search 7.6.0.
我将extbase插件用于indexed_search,在输出中它转义了HTML-Tags以标记搜索词.例如,当我搜索搜索"时,将得到以下输出:
I use the extbase plugin for indexed_search and in the output it escapes the HTML-Tags to mark the searchword. For example, when I search for "search" I get this output:
Test text with<strong class="tx-indexedsearch-redMarkup">search</strong> pattern.
我找到了此问题的错误修正: https://forge.typo3.org/issues/77901
I found this bugfix to this problem: https://forge.typo3.org/issues/77901
但是文件PageBrowsingResultsViewHelper.php
看起来并不完全一样,即使添加变量protected $escapeOutput = false;
也不会改变任何内容.
But the file PageBrowsingResultsViewHelper.php
doesn't look exactly the same, and even when I add the variable protected $escapeOutput = false;
it doesn't change anything.
您知道这是哪里来的,我可以在哪里禁用转义吗?
Any idea where this is come from and where I can disable the escaping?
推荐答案
这是另一个扩展,它重写了导致问题的tx_indexedsearch的部分内容.->始终检查正在处理的模板是否是输出的模板;)
It was another extension who overwrote a Partial of tx_indexedsearch that caused the problem.. -> Always check if the template you are working on is the one that gets outputted ;)
这篇关于输出中的索引搜索extbase htmltags的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!