diff options
author | Xavier Mendez <jmendeth@gmail.com> | 2014-07-31 14:54:53 +0200 |
---|---|---|
committer | Xavier Mendez <jmendeth@gmail.com> | 2014-07-31 14:54:53 +0200 |
commit | 0653bd8d076280327a8007eb46d22956285f4793 (patch) | |
tree | 1d0ec6cc900e71f593babcec423e4ef4279b7a53 | |
parent | e76c6a84770d66d9fc5c39611cea7b7e939c90e5 (diff) | |
download | rust-hoedown-0653bd8d076280327a8007eb46d22956285f4793.tar.gz |
html: Remove EXPAND_TABS (fixes #85)
Useless flag inherited from Sundown. Has no effect since
tabs are expanded on preprocessing before even rendering.
-rw-r--r-- | bin/hoedown.c | 1 | ||||
-rw-r--r-- | src/html.h | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/bin/hoedown.c b/bin/hoedown.c index 49a22d9..6a18d8b 100644 --- a/bin/hoedown.c +++ b/bin/hoedown.c @@ -75,7 +75,6 @@ static struct extension_info extensions_info[] = { static struct html_flag_info html_flags_info[] = { {HOEDOWN_HTML_SKIP_HTML, "skip-html", "Strip all HTML tags."}, {HOEDOWN_HTML_ESCAPE, "escape", "Escape all HTML."}, - {HOEDOWN_HTML_EXPAND_TABS, "expand-tabs", "Expand tabs to spaces."}, {HOEDOWN_HTML_SAFELINK, "safelink", "Only allow links to safe protocols."}, {HOEDOWN_HTML_HARD_WRAP, "hard-wrap", "Render each linebreak as <br>."}, {HOEDOWN_HTML_USE_XHTML, "xhtml", "Render XHTML."}, @@ -14,10 +14,9 @@ extern "C" { typedef enum { HOEDOWN_HTML_SKIP_HTML = (1 << 0), HOEDOWN_HTML_ESCAPE = (1 << 1), - HOEDOWN_HTML_EXPAND_TABS = (1 << 2), - HOEDOWN_HTML_SAFELINK = (1 << 3), - HOEDOWN_HTML_HARD_WRAP = (1 << 4), - HOEDOWN_HTML_USE_XHTML = (1 << 5) + HOEDOWN_HTML_SAFELINK = (1 << 2), + HOEDOWN_HTML_HARD_WRAP = (1 << 3), + HOEDOWN_HTML_USE_XHTML = (1 << 4) } hoedown_html_flags; typedef enum { |