Trim search query in search_result_excerpt().

We don't want to insert HTML nodes everywhere within
words.

Fixes issue #392

git-svn-id: http://textpattern.googlecode.com/svn/development/4.x@5560 2fea6a4d-a838-0410-917b-93a53c48e9d2