Merge branch 'MDL-73332-311' of https://github.com/martygilbert/moodle into MOODLE_311_STABLE
This commit is contained in:
@@ -55,8 +55,9 @@ class mustache_shorten_text_helper {
|
||||
$length = trim($length);
|
||||
$text = trim($text);
|
||||
|
||||
// Allow mustache tags in the text.
|
||||
// Allow mustache tags in the length and text.
|
||||
$text = $helper->render($text);
|
||||
$length = $helper->render($length);
|
||||
|
||||
return shorten_text($text, $length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user