Permalink
Browse files

Output was missing utf8 meta tag.

  • Loading branch information...
1 parent f555bfa commit 4a08d3bac97c2ee04f768de949d91eb363b537aa thepurpleblob committed Jan 30, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/format/xhtml/format.php
View
1 question/format/xhtml/format.php
@@ -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";

0 comments on commit 4a08d3b

Please sign in to comment.