mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: word boundary regex (\b) not working in Unicode languages. (#9163)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user