Fixed bug #9229: indexing of records containing HTML leads to concatenated words
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 23 Mar 2010 08:49:44 +0000 (08:49 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 23 Mar 2010 08:49:44 +0000 (08:49 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7146 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/indexed_search/class.crawler.php

index 935f455..0888e2d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-23  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
+
+       * Fixed bug #9229: indexing of records containing HTML leads to concatenated words
+
 2010-03-22  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Added feature #13878: htmlArea RTE: Extjize the default non-TYPO3 link dialogue
@@ -15,7 +19,7 @@
 
        * Fixed bug #13871: Field data_page_type in table index_phash is too small.
 
-2010-01-18  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
+2010-03-18  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
 
        * Fixed bug #12434: Name attribute in search form - invalid XHTML strict
        * Fixed bug #10392: Indexed search does not use config.fileTarget for files
index 3b1a564..66f6af7 100755 (executable)
@@ -700,18 +700,15 @@ class tx_indexedsearch_crawler {
 
                        // Indexing the record as a page (but with parameters set, see ->backend_setFreeIndexUid())
                $indexerObj->backend_indexAsTYPO3Page(
-                       strip_tags($theTitle),
+                       strip_tags(str_replace('<', ' <', $theTitle)),
                        '',
                        '',
-                       strip_tags($theContent),
+                       strip_tags(str_replace('<', ' <', $theContent)),
                        $GLOBALS['LANG']->charSet,      // Requires that
                        $r[$GLOBALS['TCA'][$cfgRec['table2index']]['ctrl']['tstamp']],
                        $r[$GLOBALS['TCA'][$cfgRec['table2index']]['ctrl']['crdate']],
                        $r['uid']
                );
-
-               #echo print_r($indexerObj->internal_log);
-               #echo print_r($indexerObj->contentParts);
        }
 
        /**