In function fuzzysearch_process(), if fuzzysearch_max_result is set, and if the search terms appear often and near each other and near html, a $section can be longer than variable_get('fuzzysearch_max_result'), which would result in the $section being dropped. If that was the first section, then $newbody would be empty, and the $node->teaser would be displayed instead, which could be the entire node body if the teaser isn't set.
Attached is a patch file that fixes this by adding the first section back, stripping html, and trucating by fuzzysearch_max_result.
Comments
Comment #1
mario steinitzI'm currently cleaning up the issue queue.
There is no intention to further supporting the 6.x version of fuzzysearch. So I'll hereby close this issue as outdated.
If you are still using the 6.x version and find this issue critical for your site, please feel free to set it back to active, so that we can look into it and find an according solution.