From c110ed65f6ad017170eab81405cde078595398ec Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Tue, 28 Mar 2017 19:13:59 -0400 Subject: [PATCH] FIXED: Fix quote pairing in compatibility mode --- Sources/libMultiMarkdown/mmd.c | 4 ---- 1 file changed, 4 deletions(-) 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]))) { -- 2.40.0