diff --git a/markdown.go b/markdown.go index 8cd9872..3127801 100644 --- a/markdown.go +++ b/markdown.go @@ -464,6 +464,7 @@ func expandTabs(out *bytes.Buffer, line []byte) { // the slow case: we need to count runes to figure out how // many spaces to insert for each tab column := 0 + i = 0 for i < len(line) { start := i for i < len(line) && line[i] != '\t' {