Files
lingxiao865 6c6fe3d0d6 first commit
2025-09-18 12:39:54 +08:00

7 lines
199 B
XML

var highLight = function (label, keyword) {
return label.replace(keyword, '<span class="t-search__result-item--highLight">' + keyword + '</span>');
};
module.exports = {
highLight: highLight,
};