summaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/html.c b/src/html.c
index 1f64196..5a64f9c 100644
--- a/src/html.c
+++ b/src/html.c
@@ -9,7 +9,6 @@
#include "utf8.h"
#include "buffer.h"
#include "houdini.h"
-#include "smart.h"
// Functions to convert cmark_nodes to HTML strings.
@@ -219,14 +218,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
break;
case CMARK_NODE_TEXT:
- if (options & CMARK_OPT_SMARTPUNCT) {
- escape_with_smart(html, node, escape_html,
- "“", "”", "‘", "’",
- "—", "–", "…");
- } else {
- escape_html(html, node->as.literal.data,
- node->as.literal.len);
- }
+ escape_html(html, node->as.literal.data, node->as.literal.len);
break;
case CMARK_NODE_LINEBREAK: