From cb3e2fe0c2e36e0f41d93015fb1b604d195f9047 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 31 May 2013 15:42:22 +0200 Subject: Fix displaying messages with invalid self-closing HTML tags (#1489137) --- tests/Framework/Washtml.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/Framework') diff --git a/tests/Framework/Washtml.php b/tests/Framework/Washtml.php index 526b93301..cb7234314 100644 --- a/tests/Framework/Washtml.php +++ b/tests/Framework/Washtml.php @@ -55,4 +55,17 @@ class Framework_Washtml extends PHPUnit_Framework_TestCase $this->assertEquals('

test

', $washed, "HTML invalid comments (#1487759)"); } + /** + * Test fixing of invalid self-closing elements (#1489137) + */ + function test_self_closing() + { + $html = "|', $washed, "Self-closing textarea (#1489137)"); + } + } -- cgit v1.2.3