TheDabblingDuck / ankimote

Ankimote is an addon that adds remote control functionality to Anki flashcards
MIT License
25 stars 4 forks source link

Deck switcher doesn’t work if ‘&’ character is in deck names #6

Open GSalgado1 opened 4 years ago

GSalgado1 commented 4 years ago

Ankimote creates an empty subdeck when you try to switch to a new one. The new subdeck has the same name of the deck you are trying to study but it is blank.

Issue recreated step by step:

  1. In browser, upper left corner tap swipes/taps/switch deck. Select Switch Deck eg. "Deck XYZ"
  2. Ankimote returns to normal state of doing cards
  3. In Anki screen, it says that you have finished your cards even when there are many pending
  4. In Anki, if you go to check your decks, you have your original "Deck XYZ" (black arrow on screenshot) plus a new, empty deck named "Deck XYZ" (red arrow on screenshot) ankimote
GSalgado1 commented 4 years ago

Anki desktop version 2.1.26, ankimote client running on iOS

TheDabblingDuck commented 4 years ago

Hi, thanks for reporting! Seems like that happens when the deck name has the '&' character in it.

I'll fix this in the next update, but for now you could avoid it by removing that character from your deck names.

On Fri, Aug 14, 2020, 7:42 PM Guxor96 notifications@github.com wrote:

Anki desktop version 2.1.26, ankimote client running on iOS

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TheDabblingDuck/ankimote/issues/6#issuecomment-674312485, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVHYVUGALT4QLTD54TVJL3SAXDVPANCNFSM4P76LRSQ .

GSalgado1 commented 4 years ago

Thank you! Love your addon