Ticket #148 (closed defect: fixed)
check search highlight problems
| Reported by: | lordlamer | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.9.9.4 |
| Component: | knowledgeroot base system | Version: | 0.9.9.3 |
| Keywords: | Cc: |
Description (last modified by lordlamer) (diff)
Just a little remark, i couldn't edit my post anymore. I noticed that the highlighting problem in version 0.9.9.3 within html code wasn't solved, but that the adjustments were made from an earlier topic. After changing line 1084 in class-knowledgeroot-content.php to
$row['content'] = $this->CLASS['highlight']->str_highlight($row['content'], $hvalue, $this->CLASS['highlight']->STR_HIGHLIGHT_STRIPLINKS, '<span class="highlightword">\1</span>');
so changing STR_HIGHLIGHT_SIMPLE in STR_HIGHLIGHT_STRIPLINKS
the highlighting works fine. Is it ok to solve that problem like this?
In reference to: http://forum.linuxdelta.de/index.php/topic,161.0.html
Change History
Note: See
TracTickets for help on using
tickets.
