d1ba48bc48
* 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 |
||
---|---|---|
.. | ||
.cargo | ||
benches | ||
build | ||
cargo | ||
i18n | ||
i18n_helpers | ||
linkchecker | ||
src | ||
tests/support | ||
.gitignore | ||
bench.sh | ||
BUILD.bazel | ||
Cargo.toml | ||
empty.rs | ||
README.md | ||
rustfmt.bzl | ||
rustfmt.toml |
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.