tidy_parse_string Parse a document stored in a string Description Procedural style: resourcetidy_parse_string stringinput mixedconfig stringencoding Object oriented style: booltidy->parseString stringinput mixedconfig stringencoding tidy_parse_string parses a document stored in a string. &tidy.conf-enc; <function>tidy_parse_string</function> example test

error
another line TRUE, 'output-xhtml' => TRUE, 'wrap' => 200); $tidy = tidy_parse_string($buffer, $config, 'UTF8'); $tidy->cleanRepair(); echo $tidy; ?> ]]> The above example will output: test

error
another line

]]>
¬e.tidy.2only; See also tidy_parse_file, tidy_repair_file and tidy_repair_string.