From: Fletcher T. Penney Date: Tue, 28 Mar 2017 23:13:59 +0000 (-0400) Subject: FIXED: Fix quote pairing in compatibility mode X-Git-Tag: 6.0.3^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c110ed65f6ad017170eab81405cde078595398ec;p=multimarkdown FIXED: Fix quote pairing in compatibility mode --- diff --git a/Sources/libMultiMarkdown/mmd.c b/Sources/libMultiMarkdown/mmd.c index cef81be..bf6e0c0 100644 --- a/Sources/libMultiMarkdown/mmd.c +++ b/Sources/libMultiMarkdown/mmd.c @@ -1231,8 +1231,6 @@ void mmd_assign_ambidextrous_tokens_in_block(mmd_engine * e, token * block, size } break; case QUOTE_SINGLE: - if (!(e->extensions & EXT_SMART)) - break; // Some of these are actually APOSTROPHE's and should not be paired offset = t->start; @@ -1248,8 +1246,6 @@ void mmd_assign_ambidextrous_tokens_in_block(mmd_engine * e, token * block, size break; } case QUOTE_DOUBLE: - if (!(e->extensions & EXT_SMART)) - break; offset = t->start; if ((offset == 0) || (char_is_whitespace_or_line_ending(str[offset - 1]))) {