FIX: word boundary regex (\b) not working in Unicode languages. (#9163)

This commit is contained in:
Vinoth Kannan
2020-03-25 18:39:19 +05:30
committed by GitHub
parent 49395ec577
commit 572bb5988f
13 changed files with 175 additions and 161 deletions

View File

@@ -94,7 +94,7 @@ QUnit.test("Search with context", async assert => {
const highlighted = [];
find("#post_7 span.highlight-strong").map((_, span) => {
find("#post_7 span.highlighted").map((_, span) => {
highlighted.push(span.innerText);
});