MDL-48276 qformat_xhtml: avoid uncessary html in .css file

In order to help automated tools move the html out of the css
file.
This commit is contained in:
Dan Poltawski
2014-11-19 05:56:16 +00:00
parent 0ac6d59990
commit cf599bc889
2 changed files with 10 additions and 11 deletions
+2
View File
@@ -172,7 +172,9 @@ class qformat_xhtml extends qformat_default {
$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 .= "<style type=\"text/css\">\n";
$xp .= $css;
$xp .= "</style>\n";
$xp .= "</head>\n";
$xp .= "<body>\n";
$xp .= "<form action=\"...REPLACE ME...\" method=\"post\">\n\n";