diff --git a/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php b/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php
index <HASH>..<HASH> 100644
--- a/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php
+++ b/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php
@@ -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
mod/wiki: HTML fix

<![CDATA tags were being lowercased preventing Firefox from displayign the
page in standards compliance mode.