lexer: Allow emphasis in Korean text without spaces (#3397)

This commit is contained in:
Natsu Kagami 2024-02-12 14:42:27 +00:00 committed by GitHub
parent 9f1e0390c1
commit e611021802
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -345,7 +345,10 @@ impl Lexer<'_> {
c.is_alphanumeric()
&& !matches!(
c.script(),
Script::Han | Script::Hiragana | Script::Katakana
Script::Han
| Script::Hiragana
| Script::Katakana
| Script::Hangul
)
})
};