fix: keep CJK opening brackets with annotations · chenglou/pretext@d9f2dff · GitHub
Skip to content

Commit d9f2dff

Browse files
chengloumayrang
andcommitted
fix: keep CJK opening brackets with annotations
Skip backward punctuation merges when the previous segment contains CJK so opening brackets can flow through to the forward-sticky pass and attach to the following annotation text. Closes #145 Refs #148. Co-authored-by: mayrang <pkss0626@naver.com>
1 parent a2726c9 commit d9f2dff

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

src/analysis.ts

Lines changed: 3 additions & 1 deletion

src/layout.test.ts

Lines changed: 8 additions & 0 deletions

0 commit comments

Comments
 (0)