Changeset 846
- Timestamp:
- 09/20/09 22:21:19 (12 months ago)
- Location:
- branches/knowledgeroot-0.9.9
- Files:
-
- 2 modified
-
doc/CHANGELOG (modified) (1 diff)
-
include/class-knowledgeroot-content.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/knowledgeroot-0.9.9/doc/CHANGELOG
r842 r846 451 451 - fixed js problem with ie (Closes: #145) 452 452 - fixed js problem with tree expand in ie (Closes: #141) 453 454 20090920 - fhabermann 455 - fixed highlight problem (Closes: #148) -
branches/knowledgeroot-0.9.9/include/class-knowledgeroot-content.php
r831 r846 1082 1082 $hvalue = preg_replace('/[^a-zA-Z0-9 \-_]/mu', '', $hvalue); 1083 1083 //$row['content'] = preg_replace("/(.*)(".$hvalue.")(.*)/mUu","$1<span class=\"highlightword\">$2</span>$3",$row['content']); 1084 $row['content'] = $this->CLASS['highlight']->str_highlight($row['content'], $hvalue, $this->CLASS['highlight']->STR_HIGHLIGHT_S IMPLE, '<span class="highlightword">\1</span>');1084 $row['content'] = $this->CLASS['highlight']->str_highlight($row['content'], $hvalue, $this->CLASS['highlight']->STR_HIGHLIGHT_STRIPLINKS, '<span class="highlightword">\1</span>'); 1085 1085 } 1086 1086 }
