trgkanki / cloze_hide_all

GNU Affero General Public License v3.0
13 stars 3 forks source link

HTML breaks every time I restart Anki #48

Closed ardent246 closed 3 years ago

ardent246 commented 3 years ago

Bug report

Describe the bug

Every time I start Anki I get an HTML error from a customized ClozeHideAll template. For some reason, new lines are being inserted in the middle of a single line of code each time.

This is the broken code: ""

Each time, I have to manually remove the new lines which fixes the HTML error. The functional code looks like this after my corrections:

""

I have the identical block of HTML code on the front and back template, but it only breaks on the back/answer side. I cannot figure out why this happens each time Anki is restarted, why it only happens at this particular point in the code and nowhere else, and why only on the back and not front templates.

Thanks so much!

Anki/OS versions

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.