From 1be69af553a4e2466ad3c57a327c9febef10005b Mon Sep 17 00:00:00 2001 From: josh rotenberg Date: Fri, 19 Nov 2021 15:14:22 -0800 Subject: [PATCH] need to actually enable it --- src/utils/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 2352517a..969b2cfb 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -174,6 +174,7 @@ pub fn new_cmark_parser(text: &str) -> Parser<'_> { opts.insert(Options::ENABLE_FOOTNOTES); opts.insert(Options::ENABLE_STRIKETHROUGH); opts.insert(Options::ENABLE_TASKLISTS); + opts.insert(Options::ENABLE_SMART_PUNCTUATION); Parser::new_ext(text, opts) }