Wrap Matched Words in a String with Highlight Markup
Given a body of text and a list of search keywords, write a function that scans the string and wraps each occurrence of those keywords with a highlight HTML tag (e.g., <mark> or a custom span). The function should handle case-insensitive matching, avoid double-wrapping overlapping matches, and return the modified HTML string. This is commonly used in search result UIs, text editors, and document viewers.