From 8fe93619087b67710d7b80cd3d5fe60a04bca2a2 Mon Sep 17 00:00:00 2001 From: Subramanya Sastry Date: Tue, 5 Mar 2013 18:11:44 -0600 Subject: [PATCH] Make sure Parsoid doesn't get snobbish and treat non-html5 tags badly. * A recent patch to handle extension tags broke handling of html4 tags like ,
, etc. * The new test make sure we catch such regressions before going to RT testing. Change-Id: Ia1f9247d2172d2d4c8d39cce838f896cf9e81fd7 --- tests/parser/parserTests.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 492edb6694..cbb687ad7a 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -512,6 +512,27 @@ The ''[[Main Page]]'''s talk page.

!! end +### +### Non-html5 tags +### + +!! test +Non-html5 tags should be accepted +!! input +
''foo''
+''foo'' +''foo'' +''foo'' +''foo'' +!! result +
foo
+

foo +foo +foo +foo +

+!! end + ### ### test cases ### -- 2.20.1