]> granicus.if.org Git - multimarkdown/commitdiff
FIXED: Fix quote pairing in compatibility mode
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Tue, 28 Mar 2017 23:13:59 +0000 (19:13 -0400)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Tue, 28 Mar 2017 23:13:59 +0000 (19:13 -0400)
Sources/libMultiMarkdown/mmd.c

index cef81be933cfc2b71d3804e1fbaead8353aa143f..bf6e0c072369d4897c2c44a032fd831f9dfc1bc0 100644 (file)
@@ -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]))) {