MDL-61250 questions: Omit leading space in question preview link

This commit is contained in:
Luca Bösch
2018-01-25 14:24:09 +01:00
parent a4f914b54d
commit eeb8e895da
+1 -1
View File
@@ -52,7 +52,7 @@ class core_question_renderer extends plugin_renderer_base {
public function question_preview_link($questionid, context $context, $showlabel) {
if ($showlabel) {
$alt = '';
$label = ' ' . get_string('preview');
$label = get_string('preview');
$attributes = array();
} else {
$alt = get_string('preview');