all repos — honk @ 90a8d123fa2c93691ce37555e566656de998d8db

my fork of honk

prettier html
Ted Unangst tedu@tedunangst.com
Sat, 25 Jan 2020 19:06:03 -0500
commit

90a8d123fa2c93691ce37555e566656de998d8db

parent

ac43439e97b2cb8a1d9b7d409ba071d12c8077a0

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M markitzero.gomarkitzero.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) } }