Project

General

Profile

Bug #64827 » indexed_search_6.2.0_fixNotice.patch

Andreas Müller, 2015-02-03 13:39

View differences:

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:
    (1-1/1)