mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
cope with collections where latexsvg is not a bool
This commit is contained in:
parent
47284867f9
commit
b693bdbf28
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ pub struct NotetypeSchema11 {
|
|||
pub(crate) latex_pre: String,
|
||||
#[serde(default)]
|
||||
pub(crate) latex_post: String,
|
||||
#[serde(default)]
|
||||
#[serde(default, deserialize_with = "default_on_invalid")]
|
||||
pub latexsvg: bool,
|
||||
#[serde(default, deserialize_with = "default_on_invalid")]
|
||||
pub(crate) req: CardRequirementsSchema11,
|
||||
|
|
Loading…
Reference in a new issue