Flarum (2.x)
    Preparing search index...

    Module common/utils/highlightHtml

    highlightHtml
    matchRanges