Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with HTML end tags #29

Open
BonyJordan opened this issue Jul 3, 2021 · 1 comment
Open

Problem with HTML end tags #29

BonyJordan opened this issue Jul 3, 2021 · 1 comment

Comments

@BonyJordan
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant