fix explicit separator

This commit is contained in:
Judah Caruso 2026-01-25 22:47:53 -07:00
parent bbcf5aaa73
commit 74d34dee63

View file

@ -70,7 +70,7 @@ func main() {
} }
case rivit.Paragraph: case rivit.Paragraph:
if len(line) == 0 && line[0].Value == ". . ." { if len(line) == 1 && line[0].Value == ". . ." {
fmt.Fprintf(&out, "<hr/>") fmt.Fprintf(&out, "<hr/>")
} else { } else {
fmt.Fprintf(&out, "<p>%s</p>", text2html(line)) fmt.Fprintf(&out, "<p>%s</p>", text2html(line))