code: function highlight_term(value, term) {
            return value.replace(
              new RegExp(
                "(?![^&;]+;)(?!<[^<>]*)(" + regexp_escape(term) + ")(?![^<>]*>)(?![^&;]+;)",
                "gi"
              ), function(match, p1) {
                return "<b>" + escapeHTML(p1) + "</b>";
              }
            );
        }
docs: Highlight the query part of the search term