themoeway / yomitan

Pop-up dictionary browser extension. Successor to Yomichan.
https://yomitan.wiki
GNU General Public License v3.0
1.2k stars 94 forks source link

Apostrophe does not display correctly when exporting to an anki field and not in structured content #718

Closed Kuuuube closed 7 months ago

Kuuuube commented 7 months ago

Description The dictionary entry (term: 書影): 1

https://github.com/themoeway/jmdict-yomitan/releases/tag/2024-02-19

The result in anki using the {glossary} handlebar: 2

The apostrophe turns into the escape sequence '.

This issue also occurs very noticeably with <br> tags in some dictionaries. (#682)

This does not happen when testing on Jitendex leading me to believe it's only an issue when not using structured content.

Browser version Firefox 124.0b1 (64-bit)

Yomitan version Yomitan 24.2.12.0

I also tested this on Yomitan 24.01.14.0 and Chromium 121.0.6167.184. I couldn't replicate the issue on that version of yomitan.

Mansive in the TMW discord reported not having this issue on Yomitan 24.01.14.0 and it only occuring on 24.2.12.0, Testing both versions in Firefox.

Kuuuube commented 7 months ago

Bisected this issue to #613 (71c3aff53173cc83a96d7d2715b7918bdbc2d8a5)

harrisonmg commented 7 months ago

Maybe also related to #686