Remove paragraph tags produced by markdownify

Fixes #1025
This commit is contained in:
bep
2015-04-01 15:40:08 +02:00
parent bec9b92d0c
commit be627fa718
2 changed files with 8 additions and 2 deletions

View File

@@ -956,7 +956,7 @@ func TestMarkdownify(t *testing.T) {
result := Markdownify("Hello **World!**")
expect := template.HTML("<p>Hello <strong>World!</strong></p>\n")
expect := template.HTML("Hello <strong>World!</strong>")
if result != expect {
t.Errorf("Markdownify: got '%s', expected '%s'", result, expect)