parseData() public method

This string will translate escaped versions of the special characters into the correct ones.
public parseData ( string $string ) : string
$string string String character data to be parsed.
return string Parsed character data.
Ejemplo n.º 1
0
 function assertParseData($input, $expect = true)
 {
     if ($expect === true) {
         $expect = $input;
     }
     $lexer = new HTMLPurifier_Lexer();
     $this->assertIdentical($expect, $lexer->parseData($input));
 }