Subject: [PATCH] MDL-85510 --- Index: question/type/questionbase.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/question/type/questionbase.php b/question/type/questionbase.php --- a/question/type/questionbase.php (revision 6dd1f618663544ff4f3b596bb4d5f17fe85035b1) +++ b/question/type/questionbase.php (date 1747320578044) @@ -459,14 +459,14 @@ /** @return the result of applying {@link format_text()} to the question text. */ public function format_questiontext($qa) { - return html_writer::tag('div', $this->format_text($this->questiontext, $this->questiontextformat, - $qa, 'question', 'questiontext', $this->id), ['class' => 'clearfix']); + return $this->format_text($this->questiontext, $this->questiontextformat, + $qa, 'question', 'questiontext', $this->id); } /** @return the result of applying {@link format_text()} to the general feedback. */ public function format_generalfeedback($qa) { - return html_writer::tag('div', $this->format_text($this->generalfeedback, $this->generalfeedbackformat, - $qa, 'question', 'generalfeedback', $this->id), ['class' => 'clearfix']); + return $this->format_text($this->generalfeedback, $this->generalfeedbackformat, + $qa, 'question', 'generalfeedback', $this->id); } /** Index: question/type/rendererbase.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== diff --git a/question/type/rendererbase.php b/question/type/rendererbase.php --- a/question/type/rendererbase.php (revision 6dd1f618663544ff4f3b596bb4d5f17fe85035b1) +++ b/question/type/rendererbase.php (date 1747320578073) @@ -103,7 +103,7 @@ if ($options->feedback) { $output .= html_writer::nonempty_tag('div', $this->specific_feedback($qa), - ['class' => 'specificfeedback clearfix']); + array('class' => 'specificfeedback')); $hint = $qa->get_applicable_hint(); }