The contributed Highlight module highlights keywords in a page, e.g., of search results. This one-line patch adds highlighting support to node search results, so that, if the highlight module is present, search terms are highlighted when search results are viewed (and if not behaviour is unchanged).

CommentFileSizeAuthor
node-highlight-search-results.patch875 bytesnedjo

Comments

Steven’s picture

Status: Needs review » Closed (won't fix)

As a general rule we don't add module-specific invocations to core. Instead perhaps the "search result" nodeapi hook should be adjusted to allow modifying existing parts (like the links).