From 0a8e68359550d50d6de40d42c0037fb733cd4e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sun, 21 Jan 2018 13:01:37 +0100 Subject: [PATCH] MDL-61250 questions: Omit leading space in question preview link --- question/engine/renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/engine/renderer.php b/question/engine/renderer.php index c2650a4f307..8d0b4f6ca46 100644 --- a/question/engine/renderer.php +++ b/question/engine/renderer.php @@ -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');