Commit 7592dcc7 by Alexander Makarov

Added test for #5361

parent 6d8aa2d4
......@@ -39,6 +39,7 @@ class HtmlTest extends TestCase
public function testEncode()
{
$this->assertEquals("a&lt;&gt;&amp;&quot;&#039;�", Html::encode("a<>&\"'\x80"));
$this->assertEquals('Sam &amp; Dark', Html::encode('Sam & Dark'));
}
public function testDecode()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment