Apply highlight tags to text at the given character index ranges.
The source text to highlight.
Array of [start, end] character index pairs.
[start, end]
The HTML tag name to wrap highlights with.
The text with highlight tags inserted.
Apply highlight tags to text at the given character index ranges.