This commit is contained in:
parent
92223a73c4
commit
e02709aedc
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ pub fn read_md_file(filename: &str) -> File {
|
|||
|
||||
pub fn read_md(raw_text: &str) -> File {
|
||||
// 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 {
|
||||
constructs: markdown::Constructs {
|
||||
|
|
Loading…
Reference in a new issue