From 1fe7d6ad75d2a5a2ab72a24de8cd8cdb341cff0e 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') 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