pre text fix
alex wennerberg alex@alexwennerberg.com
Thu, 12 Nov 2020 22:14:06 -0800
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
gmi2html.go
→
gmi2html.go
@@ -38,8 +38,9 @@ altText := string(l.(gemini.LinePreformattingToggle))
if altText != "" { altText = html.EscapeString(altText) fmt.Fprintf(&b, "<pre title='%s'>\n", altText) + } else { + fmt.Fprint(&b, "<pre>\n") } - fmt.Fprint(&b, "<pre>\n") } else { fmt.Fprint(&b, "</pre>\n") }