From ddf83f51d42d18607752ffece0e3649a2c06ec37 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 18 Nov 2014 20:26:24 +0000 Subject: [PATCH] MDL-48276 qformat_xhtml: avoid uncessary html in .css file In order to help automated tools move the html out of the css file. --- question/format/xhtml/format.php | 2 ++ question/format/xhtml/xhtml.css | 19 ++++++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/question/format/xhtml/format.php b/question/format/xhtml/format.php index bb54d80c04c..11ca25d92f7 100644 --- a/question/format/xhtml/format.php +++ b/question/format/xhtml/format.php @@ -172,7 +172,9 @@ class qformat_xhtml extends qformat_default { $xp .= "\n"; $xp .= "\n"; $xp .= "Moodle Quiz XHTML Export\n"; + $xp .= "\n"; $xp .= "\n"; $xp .= "\n"; $xp .= "
\n\n"; diff --git a/question/format/xhtml/xhtml.css b/question/format/xhtml/xhtml.css index 2c3a5980f86..2bc3b73289b 100644 --- a/question/format/xhtml/xhtml.css +++ b/question/format/xhtml/xhtml.css @@ -1,23 +1,20 @@ - +}