diff options
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r-- | helpers/content_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go index 7f82abc9d..86e5412c2 100644 --- a/helpers/content_test.go +++ b/helpers/content_test.go @@ -41,6 +41,7 @@ func TestTrimShortHTML(t *testing.T) { {[]byte("\n \n \t <p> \t Whitespace\nHTML \n\t </p>\n\t"), []byte("Whitespace\nHTML")}, {[]byte("<p>Multiple</p><p>paragraphs</p>"), []byte("<p>Multiple</p><p>paragraphs</p>")}, {[]byte("<p>Nested<p>paragraphs</p></p>"), []byte("<p>Nested<p>paragraphs</p></p>")}, + {[]byte("<p>Hello</p>\n<ul>\n<li>list1</li>\n<li>list2</li>\n</ul>"), []byte("<p>Hello</p>\n<ul>\n<li>list1</li>\n<li>list2</li>\n</ul>")}, } c := newTestContentSpec() |