diff options
author | Kaushal Modi <kaushal.modi@gmail.com> | 2018-10-02 13:56:31 -0400 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-10-03 09:55:53 +0300 |
commit | c5279064df9664d6b2ad277e2fba1e4bb3b0f4be (patch) | |
tree | 46daaa284dbea12f9b2c3c5303c181fde107d6a0 /hugolib/page_test.go | |
parent | 152cffb13a237651c2277dc6c2c9e4172d58b3df (diff) |
Re-organize the figure shortcode for better readability
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index ee6e73a4d..0e73376e0 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -792,7 +792,7 @@ func TestPageWithShortCodeInSummary(t *testing.T) { assertFunc := func(t *testing.T, ext string, pages Pages) { p := pages[0] checkPageTitle(t, p, "Simple") - checkPageContent(t, p, normalizeExpected(ext, "<p>Summary Next Line. \n<figure>\n \n <img src=\"/not/real\" />\n \n \n</figure>\n.\nMore text here.</p>\n\n<p>Some more text</p>\n")) + checkPageContent(t, p, normalizeExpected(ext, "<p>Summary Next Line. <figure> <img src=\"/not/real\"/> </figure> . More text here.</p><p>Some more text</p>")) checkPageSummary(t, p, "Summary Next Line. . More text here. Some more text") checkPageType(t, p, "page") } |