lexer: Allow emphasis in Korean text without spaces (#3397)
This commit is contained in:
parent
9f1e0390c1
commit
e611021802
@ -345,7 +345,10 @@ impl Lexer<'_> {
|
|||||||
c.is_alphanumeric()
|
c.is_alphanumeric()
|
||||||
&& !matches!(
|
&& !matches!(
|
||||||
c.script(),
|
c.script(),
|
||||||
Script::Han | Script::Hiragana | Script::Katakana
|
Script::Han
|
||||||
|
| Script::Hiragana
|
||||||
|
| Script::Katakana
|
||||||
|
| Script::Hangul
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user