diff options
Diffstat (limited to 'test/HTML5/Html5Test.php')
-rw-r--r-- | test/HTML5/Html5Test.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/HTML5/Html5Test.php b/test/HTML5/Html5Test.php index a1a6c9c..cce58b7 100644 --- a/test/HTML5/Html5Test.php +++ b/test/HTML5/Html5Test.php @@ -376,6 +376,9 @@ class Html5Test extends TestCase $res = $this->cycleFragment('<a>Apples & bananas.</a>'); $this->assertRegExp('|Apples & bananas.|', $res); + + $res = $this->cycleFragment('<p>R&D</p>'); + $this->assertRegExp('|R&D|', $res); } public function testComment() |