mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08:00
tab expansion bug
This commit is contained in:
parent
a4339270a5
commit
4b850e8098
|
@ -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' {
|
||||
|
|
Loading…
Reference in New Issue
Block a user