Skip to content

Commit 7f7074d

Browse files
agnivadedmitshur
authored andcommitted
godoc: remove leading tabs while formatting text
Fixes #29568 Change-Id: Ia9e91bb4cf7a5916696268141ef5ec29e4372130 Reviewed-on: https://go-review.googlesource.com/c/160917 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent b2f7fe6 commit 7f7074d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

godoc/format.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func FormatText(w io.Writer, text []byte, line int, goSource bool, pattern strin
359359
if line >= 0 {
360360
lineTag = func(w io.Writer, _ int, start bool) {
361361
if start {
362-
fmt.Fprintf(w, "<span id=\"L%d\" class=\"ln\">%6d</span>\t", line, line)
362+
fmt.Fprintf(w, "<span id=\"L%d\" class=\"ln\">%6d</span>", line, line)
363363
line++
364364
}
365365
}

0 commit comments

Comments
 (0)