#67128TYPO3 Core issue with "csc-sword" wrap for some search terms (TYPO3 6.1.5)
Description
Greetings,
We use the Apache Solr plugin on one of our sites for search. Normally when we perform a search on the site, the searched terms are wrapped by two span … one with class “csc-sword” and another with class “highlight”.
It seems TYPO3 core has an issue with wrapping the span with the “csc-sword” class when the search terms are found inside other tags (like the or tags in my example).
Here are two examples of the generated HTML on two search results:
1) The results for the word “searched” is found in an hyperlink / italic tag, TYPO3 core generates the following:
Searched the text in an hyperlink or italic,
This is a test.
Expected resulted: their should also be a wrapping the “searched” term … as in the next example.
2) The results for the word “searched” is found in “normal text”, TYPO3 core generates the following:
This is a fake text just to search the word Searched to see that, in this case, it is wrapped by two spans with different classes.
Expected result: exactly the result I got.
——————————-
I searched a while in the open issues,hopefully that was not already reported.
do you think you will fix this behavior ?
Thanks in advance.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.