jcklie / anki-maobi

máobĭ (毛笔) is an Anki add-on to create cards with writing quizzes for Hanzi (Chinese characters)
MIT License
47 stars 7 forks source link

Ignore non-chinese characters #38

Closed arueckle closed 3 years ago

arueckle commented 3 years ago

Describe the bug Maobi does not work when the source field contains characters that are not within its database. For instance, various punctuation characters.

To Reproduce Create a card with "." in it.

Expected behavior Ignore the unsupported characters.

khonkhortisan commented 3 years ago

Thanks for this. I can practice writing a sentence, at least on the front side, after copying that function less its name change from that branch.

arueckle commented 3 years ago

Glad to hear that! I think I’ve had a couple of changes that we did not immediately merge back to master as testing was missing @jcklie ? I think it is stable.

jcklie commented 3 years ago

I merged it (I forgot about it because there was no PR) and will release it soonish

jcklie commented 3 years ago

Solved with 0.5.2