diff --git a/markitzero.go b/markitzero.go index 7641587..8f76b4f 100644 --- a/markitzero.go +++ b/markitzero.go @@ -109,20 +109,20 @@ func markitzero(s string) string { } 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("") hastr = true } - fmt.Fprintf(&r, "", alignments[i]) + fmt.Fprintf(&r, "", alignments[i]) r.WriteString(cell) } }