From: Ævar Arnfjörð Bjarmason Date: Sat, 7 Jan 2006 04:58:22 +0000 (+0000) Subject: * (bug 4373) Parsertest X-Git-Tag: 1.6.0~733 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=205ad30176df6b48b54bf7849bf30f8139ef8884;p=lhc%2Fweb%2Fwiklou.git * (bug 4373) Parsertest * Parsertests for the sanitizer --- diff --git a/maintenance/parserTests.txt b/maintenance/parserTests.txt index 792902ac3f..14e7478e55 100644 --- a/maintenance/parserTests.txt +++ b/maintenance/parserTests.txt @@ -3025,6 +3025,45 @@ MSIE CSS safety test: comment in expression !! end +### +### Sanitizer +### +!! test +Sanitizer: Closing of open tags +!! input +
+!! result +
+ +!! end + +!! test +Sanitizer: Closing of open but not closed tags +!! input +foo +!! result +

foo +

+!! end + +!! test +Sanitizer: Closing of closed but not open tags +!! input +
+!! result +

</s> +

+!! end + +!! test +Sanitizer: Closing of closed but not open table tags +!! input +Table not started +!! result +

Table not started</td></tr></table> +

+!! end + TODO: more images