]> git.mjollnir.org Git - moodle.git/commitdiff
Output was missing utf8 meta tag.
authorthepurpleblob <thepurpleblob>
Tue, 30 Jan 2007 13:57:45 +0000 (13:57 +0000)
committerthepurpleblob <thepurpleblob>
Tue, 30 Jan 2007 13:57:45 +0000 (13:57 +0000)
question/format/xhtml/format.php

index b88c79e030e761545165dafd097e679c96ccc7ca..77c91751d1a5c374b0a734aa5abf3a01098fa5e7 100755 (executable)
@@ -121,6 +121,7 @@ function presave_process( $content ) {
   $xp .= "  \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
   $xp .= "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n";
   $xp .= "<head>\n";
+  $xp .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n";
   $xp .= "<title>Moodle Quiz XHTML Export</title>\n";
   $xp .= $css;
   $xp .= "</head>\n";