Anki/pylib/tests
Matthias Metelka d1ba48bc48
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 update to latest rules_python 2022-01-15 16:16:33 +10:00
run_pylint.py
run_pytest.py
shared.py
test_cards.py
test_collection.py update platform checks (eg isWin -> is_win) + devMode 2021-11-25 09:06:16 +10:00
test_decks.py
test_exporting.py
test_find.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
test_flags.py
test_importing.py Remove redundant camelcase aliases (#1509) 2021-11-26 12:29:48 +10:00
test_latex.py
test_media.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
test_models.py Expose cloze text as HTML attribute on question side (#1968) 2022-07-19 04:22:57 +10:00
test_sched2021.py use different approach to running tests twice 2021-03-01 12:47:39 +10:00
test_schedv2.py V3 parent limits (#1638) 2022-02-10 09:55:43 +10:00
test_stats.py Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
test_template.py
test_undo.py