|
tidy::repairStringtidy_repair_stringRepair a string using an optionally provided configuration file DescriptionObject-oriented style
public static stringfalse tidy::repairString(string
$string , arraystringnull $config = null , stringnull $encoding = null )Procedural style stringfalse tidy_repair_string(string
$string , arraystringnull $config = null , stringnull $encoding = null )Repairs the given string. Parameters
Return Values
Returns the repaired string, or Changelog
Examples
Example #1 tidy::repairString example
The above example will output: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>test</title> </head> <body> <p>error</p> </body> </html> See Also
|