mirror of
https://github.com/status-im/markdown.git
synced 2025-02-23 08:38:23 +00: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…
x
Reference in New Issue
Block a user