matthayes/anki_cloze_anything

Proper length computation for Japanese readings

matthayes opened this issue · 0 comments

Setting data-cloze-replace-same-length to true will not compute the proper length for text that contains a Japanese reading, such as 日本語[にほんご]. It should render as ... but instead it will render as .......... There should be an option to ignore the reading-related characters, including the leading space if it exists.