diff options
Diffstat (limited to 'tests/Framework/Washtml.php')
-rw-r--r-- | tests/Framework/Washtml.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Framework/Washtml.php b/tests/Framework/Washtml.php index 397eb718b..9879575a8 100644 --- a/tests/Framework/Washtml.php +++ b/tests/Framework/Washtml.php @@ -93,6 +93,11 @@ class Framework_Washtml extends PHPUnit_Framework_TestCase $washed = $this->cleanupResult($washer->wash($html)); $this->assertEquals('<p>para1</p><p>para2</p>', $washed, "HTML comments - tags inside (#1489904)"); + + $html = "<p>para1</p><!-- comment => comment --><p>para2</p>"; + $washed = $this->cleanupResult($washer->wash($html)); + + $this->assertEquals('<p>para1</p><p>para2</p>', $washed, "HTML comments - bracket inside"); } /** |