Removing the double escape
This commit is contained in:
1 parent
6ac052cbe5
commit
28df2ea235
4 files changed
+12
-24
No files matched your search
@@ -47,7 +47,7 @@ class HtmlBuilderTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$ol = $this->htmlBuilder->ol($list, $attributes);
|
||||
|
||||
$this->assertEquals('<ol class="example"><li>foo</li><li>bar</li><li>&amp;</li></ol>', $ol);
|
||||
$this->assertEquals('<ol class="example"><li>foo</li><li>bar</li><li>&</li></ol>', $ol);
|
||||
}
|
||||
|
||||
public function testUl()
|
||||
@@ -58,7 +58,7 @@ class HtmlBuilderTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
$ul = $this->htmlBuilder->ul($list, $attributes);
|
||||
|
||||
$this->assertEquals('<ul class="example"><li>foo</li><li>bar</li><li>&amp;</li></ul>', $ul);
|
||||
$this->assertEquals('<ul class="example"><li>foo</li><li>bar</li><li>&</li></ul>', $ul);
|
||||
}
|
||||
|
||||
public function testMeta()
|
||||
|
||||
Reference in new issue
Block a user