diff --git a/test/freenet/client/filter/ContentFilterTest.java b/test/freenet/client/filter/ContentFilterTest.java index e25e5eb50a..7252a1c6f7 100644 --- a/test/freenet/client/filter/ContentFilterTest.java +++ b/test/freenet/client/filter/ContentFilterTest.java @@ -108,6 +108,8 @@ public class ContentFilterTest { private static final String SPAN_WITH_STYLE = ""; + private static final String HTML5_TAGS = "
TLDR
Too Long Didn’t Read
"; + private static final String BASE_HREF = ""; private static final String BAD_BASE_HREF = ""; private static final String BAD_BASE_HREF2 = ""; @@ -178,6 +180,7 @@ public void testHTMLFilter() throws Exception { assertEquals(CSS_SPEC_EXAMPLE1, HTMLFilter(CSS_SPEC_EXAMPLE1)); assertEquals(SPAN_WITH_STYLE, HTMLFilter(SPAN_WITH_STYLE)); + assertEquals(HTML5_TAGS, HTMLFilter(HTML5_TAGS)); assertEquals(BASE_HREF, HTMLFilter(BASE_HREF)); assertEquals(DELETED_BASE_HREF, HTMLFilter(BAD_BASE_HREF));