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 entering html inside an italic string #12

Closed thiswillbeyourgithub closed 4 years ago

thiswillbeyourgithub commented 4 years ago

Hi, another problem that seems to be related to #11 .

If I have abcdefg and put my cursor after c and enter ::c:: which should be replaced with }}{{c1:: I end up with abc::c::}}{{c1::defg

Also happens with bold.

Looking at the html I have : <b>abc::c::</b>}}{{c1::<b>defg</b>

So the \ marker seems to stop SAYT when it tries to remove ::c::

jefdongus commented 4 years ago

Haven't been able to recreate this error (I only tried testing after the bug fix in #11)... so hopefully that fixed it?

thiswillbeyourgithub commented 4 years ago

I'm confirming you fixed this :)