diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2021-04-09 19:03:01 -0700 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2021-04-15 14:43:32 +0200 |
commit | 9b34d42bb2ff05deaeeef63ff4b5b993f35f0451 (patch) | |
tree | 8011eac37b3b4c1c2e625015ebf6eedb87967484 /hugolib/page_test.go | |
parent | c2d8f87cfc1c4ae666fbb1fb5b8983d43492333f (diff) |
Remove extraneous space from figure shortcode
Fixes #8401
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 96b16c664..be74605cb 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -680,7 +680,7 @@ func TestPageWithShortCodeInSummary(t *testing.T) { assertFunc := func(t *testing.T, ext string, pages page.Pages) { p := pages[0] checkPageTitle(t, p, "Simple") - checkPageContent(t, p, normalizeExpected(ext, "<p>Summary Next Line. <figure> <img src=\"/not/real\"/> </figure> . More text here.</p><p>Some more text</p>")) + 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") } |