all repos — grayfriday @ a99c922b84125a8284f65750d7ef9dff05757d5d

blackfriday fork with a few changes

remove NO_EXPAND_TABS options
Russ Ross russ@dixie.edu
Fri, 01 Jul 2011 09:57:11 -0600
commit

a99c922b84125a8284f65750d7ef9dff05757d5d

parent

7544368fce6ca34cc158c00bdc5da1b343ffb74b

1 files changed, 1 insertions(+), 6 deletions(-)

jump to
M markdown.gomarkdown.go

@@ -33,7 +33,6 @@ EXTENSION_STRIKETHROUGH

EXTENSION_LAX_HTML_BLOCKS EXTENSION_SPACE_HEADERS EXTENSION_HARD_LINE_BREAK - EXTENSION_NO_EXPAND_TABS EXTENSION_TAB_SIZE_EIGHT )

@@ -256,11 +255,7 @@ }

// 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')