Apologies if this has been asked before - couldn't find it. The design I am trying to implement wraps a span around instances of the search string in the search results. I couldn't see a way of doing this out of the box, and my first stab at keyword modifiers doesn't seem to do it:
%asset_name_linked^replace_keywords:replace:{globals_get_queries_term_query}:<span class="searchTerm">{globals_get_queries_term_query}</span>%
Can anyone sort out my modifiers, or give another way of doing this?
Edit: just realized that of course I would not want to modify %asset_name_linked% as it would destroy the link HTML, so ignore my choice of base keyword replacement - it's the modifiers that I need to get right.
Thanks
Tom