Skip to content

Commit

Permalink
break at div.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hǎiliàng Wáng committed May 18, 2015
1 parent 1cd0bf4 commit a62b015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plain.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func renderPlainElementNode(w writer, n *html.Node) error {
renderPlainChild(w, n)
// write break after children are written
switch n.Data {
case "p", "br":
case "p", "br", "div":
writeBreak(w)
}
return nil
Expand Down

0 comments on commit a62b015

Please sign in to comment.