mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-18 11:41:52 +00:00
Fix typo in comment.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@702 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
98fd6b7d82
commit
e1a5d10e75
@ -188,7 +188,7 @@ $xsl_processor->importStylesheet($xsl_dom_stylesheet);
|
|||||||
$html_output = $xsl_processor->transformToXML($dom_document);
|
$html_output = $xsl_processor->transformToXML($dom_document);
|
||||||
|
|
||||||
// some slight fudges to preserve backwards compatibility
|
// some slight fudges to preserve backwards compatibility
|
||||||
$html_output = str_replace('/>', ' />', $html_output); // <br /> not <br>
|
$html_output = str_replace('/>', ' />', $html_output); // <br /> not <br/>
|
||||||
$html_output = str_replace(' xmlns=""', '', $html_output); // rm unnecessary xmlns
|
$html_output = str_replace(' xmlns=""', '', $html_output); // rm unnecessary xmlns
|
||||||
|
|
||||||
if (class_exists('Tidy')) {
|
if (class_exists('Tidy')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user