MichaelHatherly / CommonMark.jl

A CommonMark-compliant Markdown parser for Julia.
Other
84 stars 11 forks source link

fix unicode breaking #53

Closed Rratic closed 1 year ago

Rratic commented 1 year ago

This fixes the first problem in https://github.com/MichaelHatherly/CommonMark.jl/issues/52

MichaelHatherly commented 1 year ago

Thanks @Rratic, could you add a test that covers this issue and then this is good to merge.

Rratic commented 1 year ago

Wait a minute, I found it brings another issue (still only in unicode circumstances) : the result is

┌ Ju 的文字 ────────────
│ 的文字" Ju
└──────────────────────

repeating part 的文字, so there's still something else to fix

Rratic commented 1 year ago

@MichaelHatherly Is there anything else I need to do? (p.s. I'm currently away from my computer so I can't dig into the code)