peterborkuti / anki-addon-glossary

Export an Anki desk as an Html Glossary
MIT License
11 stars 2 forks source link

unclosed HTML tags #8

Open khonkhortisan opened 6 years ago

khonkhortisan commented 6 years ago

Front template tags squish right, back template tags squish left.

After lagging on an export of my main deck, I tried it on canadian provinces Default::Flags of Canada https://ankiweb.net/shared/info/2104389644 and moved the export into collection.media for images https://github.com/peterborkuti/anki-addon-glossary/issues/5 As I scroll down the page, everything gets squished off to one side because some tag isn't getting closed:


<div style='font-family: Arial; font-size: 15px;color:grey;'>
What is the name of this province/territory?<br><br>
{{Map}}

throws </div> sprinkles all over the templates

Should probably give a warning message like

Card contains unclosed HTML tag {{tag}}
Note type {{Note}} Card type {{type}} Note id {{nid}} Card id {{cid}}
srghma commented 3 years ago

2021-02-13-19:26:28-screenshot 2021-02-13-19:26:36-screenshot

have this problem too