From 205ad30176df6b48b54bf7849bf30f8139ef8884 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sat, 7 Jan 2006 04:58:22 +0000 Subject: [PATCH] * (bug 4373) Parsertest * Parsertests for the sanitizer --- maintenance/parserTests.txt | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 -- 2.20.1