Opened 8 years ago

Closed 8 years ago

#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)

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 (3)

comment:1 Changed 8 years ago by lordlamer

  • Description modified (diff)

comment:2 Changed 8 years ago by lordlamer

  • Description modified (diff)

comment:3 Changed 8 years ago by lordlamer

  • Resolution set to fixed
  • Status changed from new to closed
  • fixed for trunk in [847]
  • fixed for branch in [846]
Note: See TracTickets for help on using tickets.