prettier html
Ted Unangst tedu@tedunangst.com
Sat, 25 Jan 2020 19:06:03 -0500
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
markitzero.go
→
markitzero.go
@@ -109,20 +109,20 @@ continue
} switch cell { case ":---": - alignments[i] = `style="text-align: left"` + alignments[i] = ` style="text-align: left"` continue case ":---:": - alignments[i] = `style="text-align: center"` + alignments[i] = ` style="text-align: center"` continue case "---:": - alignments[i] = `style="text-align: right"` + alignments[i] = ` style="text-align: right"` continue } if !hastr { r.WriteString("<tr>") hastr = true } - fmt.Fprintf(&r, "<td %s>", alignments[i]) + fmt.Fprintf(&r, "<td%s>", alignments[i]) r.WriteString(cell) } }