Browse Source

Added test for #5361

tags/2.0.0
Alexander Makarov 10 years ago
parent
commit
7592dcc7f1
  1. 1
      tests/unit/framework/helpers/HtmlTest.php

1
tests/unit/framework/helpers/HtmlTest.php

@ -39,6 +39,7 @@ class HtmlTest extends TestCase
public function testEncode() public function testEncode()
{ {
$this->assertEquals("a&lt;&gt;&amp;&quot;&#039;<EFBFBD>", Html::encode("a<>&\"'\x80")); $this->assertEquals("a&lt;&gt;&amp;&quot;&#039;<EFBFBD>", Html::encode("a<>&\"'\x80"));
$this->assertEquals('Sam &amp; Dark', Html::encode('Sam & Dark'));
} }
public function testDecode() public function testDecode()

Loading…
Cancel
Save