Ticket #148 (closed defect: fixed)

Opened 11 months ago

Last modified 10 months ago

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

Changed 11 months ago by lordlamer

  • description modified (diff)

Changed 11 months ago by lordlamer

  • description modified (diff)

Changed 10 months ago by lordlamer

  • status changed from new to closed
  • resolution set to fixed

* fixed for trunk in [847]
* fixed for branch in [846]

Note: See TracTickets for help on using tickets.