Actions
Bug #77901
closedHTML tags in default indexed_search Fluid output get escaped
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2016-09-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
Description
In the default Extbase & Fluid indexed_search template, there is a ViewHelper outputting information about the number of search results, and which ones are being displayed on the current page. The counts get wrapped in <strong>
tags, but since the output string gets escaped, they end up as <strong>
in the page source.
Since the parameters that get put in the generated string are generated by TYPO3 internally, and cannot be changed from the outside, I think it would be safe to return the output of the ViewHelper in raw form.
How to reproduce:- Create a basic template to output content, and make the content indexable by indexed_search
- Index some pages with indexed_search
- On the search page, with no further setup of the Extbase & Fluid plugin, search for any term that would return results
- As you can see, the text (i.e.
Displaying results <strong>1 to 1</strong> out of <strong>1</strong>
) is shown with escaped tags.
Actions