From: Subramanya Sastry
Date: Wed, 6 Mar 2013 00:11:44 +0000 (-0600)
Subject: Make sure Parsoid doesn't get snobbish and treat non-html5 tags badly.
X-Git-Tag: 1.31.0-rc.0~20393^2
X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=8fe93619087b67710d7b80cd3d5fe60a04bca2a2;p=lhc%2Fweb%2Fwiklou.git
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
---
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
###