aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/template_test.go
diff options
context:
space:
mode:
authorbep <[email protected]>2015-04-01 15:40:08 +0200
committerbep <[email protected]>2015-04-01 15:40:09 +0200
commitbe627fa718d23278aeb53da5651a8a4a1be14c27 (patch)
tree689048153389a1d9a995a59c5f6f1718593079e5 /tpl/template_test.go
parentbec9b92d0cf45a893d3cd56460270b55d97c93f7 (diff)
downloadhugo-be627fa718d23278aeb53da5651a8a4a1be14c27.tar.gz
hugo-be627fa718d23278aeb53da5651a8a4a1be14c27.zip
Remove paragraph tags produced by markdownify
Fixes #1025
Diffstat (limited to 'tpl/template_test.go')
-rw-r--r--tpl/template_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/template_test.go b/tpl/template_test.go
index 20a887b1c..8e99f2fb4 100644
--- a/tpl/template_test.go
+++ b/tpl/template_test.go
@@ -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)