We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce38091 commit ade89a7Copy full SHA for ade89a7
tests/TransphpormTest.php
@@ -7,6 +7,13 @@
7
use Transphporm\Builder;
8
class TransphpormTest extends PHPUnit_Framework_TestCase {
9
10
+ public function testUTF8() {
11
+ $xml = "<p>this is half english and половина России &</p>";
12
+ $template = new Builder($xml);
13
+
14
+ $this->assertEquals('<p>this is half english and половина России &</p>', $template->output()->body);
15
+ }
16
17
public function testLoadHTMLWithEntities() {
18
$template = '<div> <</div>';
19
0 commit comments