select excerpts that have the term as a word in them
authorTony Cook <tony@develop-help.com>
Fri, 6 Jun 2014 01:18:14 +0000 (11:18 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 6 Jun 2014 01:18:14 +0000 (11:18 +1000)
commitd325876a7b15e2c98ab87ea1c570f1b30971f904
treee8e9336973a3c4d1fc0db104699eb2d902343e92
parent947d7c09ef5b2e9da495715ab79e1bc58981fc05
select excerpts that have the term as a word in them

Previously the code that selected the text to highlight did a simple
text match, without word boundary checks, so a search for "tree" would
select text from the content with "street" which wouldn't then be
highlighted.  The code to select the text now does word matching.
site/cgi-bin/modules/Generate.pm