From 27373892cb98a2a6a1d35fba28798d9117fff58f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 15 Feb 2015 18:31:07 -0800 Subject: Moved handling of --smart from renderer to parser. This allows backslash escapes to disable smart quote transformations in particular cases. Closes #8. --- src/smart.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/smart.h (limited to 'src/smart.h') diff --git a/src/smart.h b/src/smart.h deleted file mode 100644 index fa614b3..0000000 --- a/src/smart.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef CMARK_SMART_H -#define CMARK_SMART_H - -#include -#include -#include "config.h" - -#ifdef __cplusplus -extern "C" { -#endif - -void escape_with_smart(cmark_strbuf *buf, - cmark_node *node, - void (*escape)(cmark_strbuf *, const unsigned char *, int), - const char *left_double_quote, - const char *right_double_quote, - const char *left_single_quote, - const char *right_single_quote, - const char *em_dash, - const char *en_dash, - const char *ellipses); - -#ifdef __cplusplus -} -#endif - -#endif - -- cgit v1.2.3