Fix Clozes

AnkiWeb addon 938189964

Fixes cloze deletions partially enclosed by HTML tags by moving the tags outside the cloze so Anki can highlight the text correctly.
AI-generated summary; may contain mistakes.

formattingclozebugfix-workaround

Open on AnkiWeb GitHub Forum topic Find alternatives

AnkiWeb

Votes
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2023-09-14
Anki versions
2.1.66~
License
AGPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2024-03-01 (975 days before the snapshot).
  • Test files: 1.
  • GitHub Actions workflows: 2.
  • Commits in the last year: 0.
  • Issues: 0 open, 1 closed.
  • Pull requests: 1 open, 0 merged.
  • Median first response: 16 hours (1 answered issues and pull requests).

GitHub

Repository
abdnh/anki-fix-clozes Β· more by abdnh
Stars
⭐ 0 · forks 0 · open issues 1
Last commit
2024-03-01
License
AGPL-3.0
Languages
Python, HTML, Makefile
Tests
1

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.12.1.66+2023-09-14
History across monthly snapshots

Loading…

Similar addons

Cloze Generator

Generates cloze notes from existing non-cloze notes using configurable mappings, field templates, filters, optional tags, and skips duplicates or empty cloze elements.

card-creationnote-managementcloze

9 votes 35% approval πŸ‘ 6 Β· πŸ‘Ž 3 Updated 2018-07-22
Better Markdown Anki

Renders Anki flashcards with enhanced markdown, LaTeX math, syntax highlighting, theme-aware styling, and interactive cloze toggles via React-based note types.

formattingappearancecard-templatescloze

25 votes 65% approval πŸ‘ 21 Β· πŸ‘Ž 4 ⭐ 31 Anki 2.1.66~ Updated 2026-10-15

Description

This add-on tries to fix various issues causing clozes not to function properly.

At the moment, the add-on only fixes the case where there are clozes partially enclosed by HTML tags (which will cause Anki to not properly highlight the text in blue). For example, the text hello <span>world {{c1::</span>test}} will be converted to hello <span>world </span>{{c1::test}}

Known Issues

Nested clozes are not supported at the moment and the add-on will probably fail to fix issues in them.

Changelog

See CHANGELOG.md for a list of changes.

Support & feature requests

Please post any questions, bug reports, or feature requests in the support page or the issue tracker. If you want priority support for your feature/help request, I'm available for hire. You can get in touch from the aforementioned pages, via email or on Fiverr.

Support me

Consider supporting me if you like my work:

Buy Me A Coffee

I'm also available for freelance add-on development on Fiverr:

README

Fix Clozes

This Anki add-on tries to fix various issues causing clozes not to function properly.

At the moment, the add-on only fixes the case where there are clozes partially enclosed by HTML tags (which will cause Anki to not properly highlight the text in blue). For example, the text

hello <span>world {{c1::</span>test}}

will be converted to

hello <span>world </span>{{c1::test}}

Known Issues

Nested clozes are not supported at the moment and the add-on will probably fail to fix issues in them.

Download

You can download the add-on from AnkiWeb: 938189964

Changelog

See CHANGELOG.md for a list of changes.

Support & feature requests

Please post any questions, bug reports, or feature requests in the support page or the issue tracker.

If you want priority support for your feature/help request, I'm available for hire. You can get in touch from the aforementioned pages, via email or on Fiverr.

Support me

Consider supporting me if you like my work:

Buy Me A Coffee

I'm also available for freelance add-on development on Fiverr: