jefdongus / insert-symbols-anki-addon

Anki add-on to insert Unicode symbols into cards.
https://ankiweb.net/shared/info/2040501954
24 stars 10 forks source link

Problem with HTML end tags #29

Open BonyJordan opened 3 years ago

BonyJordan commented 3 years ago

Anki version 2.1.15 OS ubuntu 20.04 language English No other installed plugins

How to replicate:

  1. Enter a replacement with key ::G5:: and value <font color="green">Five</font> and save
  2. Go to the card editor, and type There are ::G5:: points.
  3. Expected that "There are" and "points" were black and "Five" is green. But what I actually get is "There are" is black and "Five points" is green.
BonyJordan commented 3 years ago

A workaround that seems to work is to add &zwnj; after the end tag.