Anki/pylib/tests
Matthias Metelka d4dfa0c9ec Expose cloze text as HTML attribute on question side (#1968)
* Expose cloze text as attribute on front side

* Update test_models.py

* Update template_filters.rs

* Escape HTML for data-attribute

* Use minimal HTML encoding in Rust

to match Python's html.escape and pass tests.

* Rename attribute to data-cloze

to make it more generic.

* Run formatter

* Revert to using Rust encode_attribute and add helper function for tests
2022-07-19 04:22:57 +10:00
..
support
__init__.py
run_format.py Fix undisruptive formatting issues (#1848) 2022-05-09 20:00:20 +10:00
run_mypy.py
run_pylint.py
run_pytest.py
shared.py
test_cards.py
test_collection.py
test_decks.py
test_exporting.py
test_find.py
test_flags.py
test_importing.py
test_latex.py
test_media.py
test_models.py Expose cloze text as HTML attribute on question side (#1968) 2022-07-19 04:22:57 +10:00
test_sched2021.py
test_schedv2.py V3 parent limits (#1638) 2022-02-10 09:55:43 +10:00
test_stats.py
test_template.py
test_undo.py