From a99c922b84125a8284f65750d7ef9dff05757d5d Mon Sep 17 00:00:00 2001 From: Russ Ross Date: Fri, 1 Jul 2011 09:57:11 -0600 Subject: [PATCH] remove NO_EXPAND_TABS options --- markdown.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/markdown.go b/markdown.go index 754d0100..da20f354 100644 --- a/markdown.go +++ b/markdown.go @@ -33,7 +33,6 @@ const ( EXTENSION_LAX_HTML_BLOCKS EXTENSION_SPACE_HEADERS EXTENSION_HARD_LINE_BREAK - EXTENSION_NO_EXPAND_TABS EXTENSION_TAB_SIZE_EIGHT ) @@ -256,11 +255,7 @@ func firstPass(parser *Parser, input []byte) []byte { // add the line body if present if end > beg { - if parser.flags&EXTENSION_NO_EXPAND_TABS == 0 { - expandTabs(&out, input[beg:end], tabSize) - } else { - out.Write(input[beg:end]) - } + expandTabs(&out, input[beg:end], tabSize) } out.WriteByte('\n')