Closed phiresky closed 1 year ago
please try master
branch, it might be related to https://github.com/rlidwka/markdown-it.rs/commit/1773eee36016dd947eaabc919c12cbabb79568fd, which was fixed recently
also, can you provide full text, on which parser breaks?
just "**...**"
breaks it
confirmed, still a bug, will fix today or tomorrow
here's minimal sample:
fn main() {
let mut parser = markdown_it::MarkdownIt::new();
markdown_it::plugins::cmark::add(&mut parser);
markdown_it::plugins::extra::add(&mut parser);
println!("{}", parser.parse("\"**...**\"").render());
}
@black-puppydog, any ideas?
turned out to be incorrect non-ascii handling
fixed and published as 0.5.1, thanks for reporting
this is causing lemmy to break. reference: https://github.com/LemmyNet/lemmy/issues/3411 :
code: