diff --git a/hugolib/embedded_templates_test.go b/hugolib/embedded_templates_test.go index f0fc9cfdee3..5e76c0ff812 100644 --- a/hugolib/embedded_templates_test.go +++ b/hugolib/embedded_templates_test.go @@ -152,7 +152,7 @@ func TestEmbeddedPaginationTemplate(t *testing.T) { b.AssertFileContent("public/index.html", expectedOutput) } - expectedOutputDefaultFormat := "Pager 1\n
" + expectedOutputDefaultFormat := "Pager 1\n " expectedOutputTerseFormat := "Pager 1\n " variant := `{{ template "_internal/pagination.html" . }}` diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index b906f10d295..8e691af4cb9 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -290,7 +290,7 @@ if (!doNotTrack) { {{- else }}