mod/wiki: HTML fix
<![CDATA tags were being lowercased preventing Firefox from displayign the page in standards compliance mode. Author: Matt Clarkson <[email protected]>
This commit is contained in:
@@ -98,6 +98,7 @@ function ewiki_html_tag_balancer(&$html) {
|
||||
|
||||
#-- cdata
|
||||
if($tname=='![cdata[') {
|
||||
$tname = strtoupper($tname); // Needs to be uppercase for XHTML compliance
|
||||
// LEAVE THE POOR THING ALONE!
|
||||
}
|
||||
#-- standalone tag
|
||||
|
||||
Reference in New Issue
Block a user