2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

FIX: Hashtags should work for non-english characters

This commit is contained in:
Vinoth Kannan 2018-12-26 22:12:40 +05:30
parent 5381096bfd
commit 2076f371b3
2 changed files with 7 additions and 1 deletions

View file

@ -621,6 +621,12 @@ QUnit.test("Category hashtags", assert => {
'<p><small><span class="hashtag">#category-hashtag</span></small></p>',
"it works between HTML tags"
);
assert.cooked(
"Checkout #ụdị",
'<p>Checkout <span class="hashtag">#ụdị</span></p>',
"it works for non-english characters"
);
});
QUnit.test("Heading", assert => {