Commit 26bb331
committed
Fix CJK emphasis delimiter detection in scanDelims
Treat CJK ideographs (codepoints > 0x2E7F) as punctuation in flanking
delimiter checks so that emphasis markers work correctly in mixed
CJK/ASCII contexts (e.g. 湾岸の**46%**を now renders bold correctly).
https://claude.ai/code/session_01RzF12DUuSS8R6Zw1NKwv9o1 parent 8933147 commit 26bb331
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
151 | 159 | | |
152 | 160 | | |
153 | 161 | | |
| |||
0 commit comments