From: Bjørn Erik Pedersen Date: Wed, 21 Feb 2018 08:25:32 +0000 (+0100) Subject: hugolib: Fix broken footnote test X-Git-Tag: v0.37~16 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c2c4cb1f9f9ea9f05a9c9cf7123a17660208cad4;p=brevno-suite%2Fhugo hugolib: Fix broken footnote test See #4433 --- diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 3e9e985e..814556c6 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -718,11 +718,11 @@ func TestPageWithDelimiterForMarkdownThatCrossesBorder(t *testing.T) { p := s.RegularPages[0] - if p.Summary != template.HTML("

The best static site generator.1\n

") { + if p.Summary != template.HTML("

The best static site generator.1\n

") { t.Fatalf("Got summary:\n%q", p.Summary) } - if p.Content != template.HTML("

The best static site generator.1\n

\n
\n\n
\n\n
    \n
  1. Many people say so.\n [return]
  2. \n
\n
") { + if p.Content != template.HTML("

The best static site generator.1\n

\n
\n\n
\n\n
    \n
  1. Many people say so.\n [return]
  2. \n
\n
") { t.Fatalf("Got content:\n%q", p.Content) } }