glutanimate/popup-dictionary

Search doesn't work across clozes

Opened this issue · 0 comments

Problem description

Search does not match words if they are part of a cloze.

Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?

For example, I have multiple notes with the string:

{{c2::white}} matter

When I highlight the string white matter from one in review mode, it finds no notes.
I assume it's keeping the {{c2:: and {{ in the search.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

  • I've restarted Anki to see if it helps
  • I've verified that I use the latest version of the add-on by redownloading it from AnkiWeb
  • I've verified that I use the latest version of Anki by checking at https://apps.ankiweb.net#download
  • I've tried to disable other add-ons to see if there are any interactions present
  • My issue disappears when I hold shift while starting Anki.
  • I've checked if anyone else reported this problem before by looking through the issue reports. I also checked to see if there is a section about known issues in the add-on description, documentation, or README.

Information about your Anki set-up

Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):

I have the latest version (2.1.40), but there is no such button.

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below: