From c1581031d404574a32c4cb1aa72f59f0f5f74250 Mon Sep 17 00:00:00 2001 From: Asmir Mustafic Date: Sat, 29 Nov 2014 01:01:45 +0100 Subject: Added support for dashes in element tag names (closes #65) --- test/HTML5/Html5Test.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/HTML5/Html5Test.php') diff --git a/test/HTML5/Html5Test.php b/test/HTML5/Html5Test.php index 2b46b23..0ab367c 100644 --- a/test/HTML5/Html5Test.php +++ b/test/HTML5/Html5Test.php @@ -259,6 +259,12 @@ class Html5Test extends TestCase $res = $this->cycleFragment(''); $this->assertRegExp('||', $res); + // Elements with dashes and underscores + $res = $this->cycleFragment(''); + $this->assertRegExp('||', $res); + $res = $this->cycleFragment(''); + $this->assertRegExp('||', $res); + // Should have no closing tag. $res = $this->cycle('
'); $this->assertRegExp('|
|', $res); -- cgit v1.2.3