diff --git a/question/export_form.php b/question/export_form.php
index b8a27ca7bfe81..547abf20e0725 100644
--- a/question/export_form.php
+++ b/question/export_form.php
@@ -51,7 +51,7 @@ protected function definition() {
foreach ($fileformatnames as $shortname => $fileformatname) {
$currentgrp1 = array();
$currentgrp1[] = $mform->createElement('radio', 'format', '', $fileformatname, $shortname);
- $mform->addGroup($currentgrp1, "formathelp[$i]", ' ', array('
'), false);
+ $mform->addGroup($currentgrp1, "formathelp[$i]", '', array('
'), false);
if (get_string_manager()->string_exists('pluginname_help', 'qformat_' . $shortname)) {
$mform->addHelpButton("formathelp[$i]", 'pluginname', 'qformat_' . $shortname);
diff --git a/question/import_form.php b/question/import_form.php
index 4a1a127224261..7112db538e4c1 100644
--- a/question/import_form.php
+++ b/question/import_form.php
@@ -53,7 +53,7 @@ protected function definition() {
foreach ($fileformatnames as $shortname => $fileformatname) {
$currentgrp1 = array();
$currentgrp1[] = $mform->createElement('radio', 'format', '', $fileformatname, $shortname);
- $mform->addGroup($currentgrp1, "formathelp[$i]", ' ', array('
'), false);
+ $mform->addGroup($currentgrp1, "formathelp[$i]", '', array('
'), false);
if (get_string_manager()->string_exists('pluginname_help', 'qformat_' . $shortname)) {
$mform->addHelpButton("formathelp[$i]", 'pluginname', 'qformat_' . $shortname);