silent pass latex error
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-04-14 13:36:09 +02:00
parent 92223a73c4
commit e02709aedc
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -80,7 +80,7 @@ pub fn read_md_file(filename: &str) -> File {
pub fn read_md(raw_text: &str) -> File { pub fn read_md(raw_text: &str) -> File {
// Transform LaTeX to MathML // Transform LaTeX to MathML
let text = latex2mathml::replace(raw_text).unwrap(); let text = latex2mathml::replace(raw_text).unwrap_or(raw_text.to_string());
let parse_option = markdown::ParseOptions { let parse_option = markdown::ParseOptions {
constructs: markdown::Constructs { constructs: markdown::Constructs {