/** * Return a parsed text to its original form * * @param string $xml Parsed text * @return string Original plain text */ public function unparse($xml) { return \s9e\TextFormatter\Unparser::unparse($xml); }
/** * Unparse XML. * * @param string $xml * @return string */ public function unparse($xml) { return Unparser::unparse($xml); }
/** * @testdox Characters outside Unicode's BMP are decoded */ public function testUnicodeSMP() { $this->assertSame('😀', Unparser::unparse('<t>😀</t>')); }