summaryrefslogtreecommitdiff
path: root/test/HTML5/Html5Test.php
diff options
context:
space:
mode:
authorMatt Farina <[email protected]>2013-11-06 19:58:27 -0500
committerMatt Farina <[email protected]>2013-11-06 19:58:27 -0500
commitaf20c4d0d11e8d76a5840ae5973bc1e8735d5aaa (patch)
tree49f10857414dcf3c441388bb09ad0361289fdc4f /test/HTML5/Html5Test.php
parent25ad20463cf0fe25f7fda8bce0d5692d8d1c33d7 (diff)
Cleaning up the sarcasm tag parsing.
Diffstat (limited to 'test/HTML5/Html5Test.php')
-rw-r--r--test/HTML5/Html5Test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/HTML5/Html5Test.php b/test/HTML5/Html5Test.php
index 1d3d7ab..4e7c300 100644
--- a/test/HTML5/Html5Test.php
+++ b/test/HTML5/Html5Test.php
@@ -201,11 +201,13 @@ class Html5Test extends TestCase {
<f:name>Big rectangle thing</f:name>
<f:width>40</f:width>
<f:length>80</f:length>
- </f:rug>");
+ </f:rug>
+ <sarcasm>um, yeah</sarcasm>");
$this->assertEmpty($dom->errors);
$markup = \HTML5::saveHTML($dom);
$this->assertRegExp('|<f:name>Big rectangle thing</f:name>|',$markup);
+ $this->assertRegExp('|<sarcasm>um, yeah</sarcasm>|',$markup);
}
public function testElements() {