From: Fletcher T. Penney Date: Mon, 6 Mar 2017 01:18:58 +0000 (-0500) Subject: FIXED: Allow {{TOC}} in latex verbatim X-Git-Tag: 6.0.0-b1^2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c20ac5ea161387f10d4939e1f159d62c13b65f9a;p=multimarkdown FIXED: Allow {{TOC}} in latex verbatim --- diff --git a/Sources/libMultiMarkdown/latex.c b/Sources/libMultiMarkdown/latex.c index a6f5119..f72d32c 100644 --- a/Sources/libMultiMarkdown/latex.c +++ b/Sources/libMultiMarkdown/latex.c @@ -1671,6 +1671,9 @@ void mmd_export_token_latex_tt(DString * out, const char * source, token * t, sc case TEXT_BRACE_RIGHT: print_const("\\}"); break; + case TOC: + print_const("\\{\\{TOC\\}\\}"); + break; case UL: print_const("\\_"); break;