fix explicit separator
This commit is contained in:
parent
bbcf5aaa73
commit
74d34dee63
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -70,7 +70,7 @@ func main() {
|
|||
}
|
||||
|
||||
case rivit.Paragraph:
|
||||
if len(line) == 0 && line[0].Value == ". . ." {
|
||||
if len(line) == 1 && line[0].Value == ". . ." {
|
||||
fmt.Fprintf(&out, "<hr/>")
|
||||
} else {
|
||||
fmt.Fprintf(&out, "<p>%s</p>", text2html(line))
|
||||
|
|
|
|||
Loading…
Reference in a new issue