Don't output <br> tags
1 files changed, 1 insertions(+), 5 deletions(-) M main.go
M main.go => main.go +1 -5
@@ 106,11 106,7 @@ func (h *HTMLWriter) Handle(line gemini.Line) { case gemini.LineQuote: fmt.Fprintf(h.out, "<blockquote>%s</blockquote>\n", html.EscapeString(string(line))) case gemini.LineText: if line == "" { fmt.Fprint(h.out, "<br>\n") } else { fmt.Fprintf(h.out, "<p>%s</p>\n", html.EscapeString(string(line))) } fmt.Fprintf(h.out, "<p>%s</p>\n", html.EscapeString(string(line))) } }