Bug #64827 » indexed_search_6.2.0_fixNotice.patch
typo3/sysext/indexed_search/Classes/Controller/SearchController.php | ||
---|---|---|
* @return string Processed content
|
||
*/
|
||
protected function markupSWpartsOfString($str) {
|
||
// Init:
|
||
$str = str_replace(' ', ' ', \TYPO3\CMS\Core\Html\HtmlParser::bidir_htmlspecialchars($str, -1));
|
||
/** @var \TYPO3\CMS\Core\Html\HtmlParser $oHtmlParser */
|
||
$oHtmlParser = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('\TYPO3\CMS\Core\Html\HtmlParser');
|
||
// Init:
|
||
$str = str_replace(' ', ' ', $oHtmlParser->bidir_htmlspecialchars($str, -1));
|
||
$str = preg_replace('/\\s\\s+/', ' ', $str);
|
||
$swForReg = array();
|
||
// Prepare search words for regex:
|
typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php | ||
---|---|---|
* @todo Define visibility
|
||
*/
|
||
public function markupSWpartsOfString($str) {
|
||
/** @var \TYPO3\CMS\Core\Html\HtmlParser $oHtmlParser */
|
||
$oHtmlParser = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('\TYPO3\CMS\Core\Html\HtmlParser');
|
||
// Init:
|
||
$str = str_replace(' ', ' ', \TYPO3\CMS\Core\Html\HtmlParser::bidir_htmlspecialchars($str, -1));
|
||
$str = str_replace(' ', ' ', $oHtmlParser->bidir_htmlspecialchars($str, -1));
|
||
$str = preg_replace('/\\s\\s+/', ' ', $str);
|
||
$swForReg = array();
|
||
// Prepare search words for regex:
|