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

This commit is contained in:
Luca Bösch
2018-01-25 14:25:53 +01:00
parent a11dae7625
commit 0a8e683595
+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');