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).
| Comment | File | Size | Author |
|---|---|---|---|
| node-highlight-search-results.patch | 875 bytes | nedjo |
Comments
Comment #1
Steven commentedAs 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).