Merge branch 'MDL-55627_30' of https://github.com/bostelm/moodle into MOODLE_30_STABLE

This commit is contained in:
Dan Poltawski
2016-09-05 14:09:15 +01:00
+1 -1
View File
@@ -165,7 +165,7 @@ class filter_mathjaxloader extends moodle_text_filter {
$PAGE->requires->yui_module('moodle-filter_mathjaxloader-loader', 'M.filter_mathjaxloader.typeset');
if ($hasextra) {
// If custom dilimeters are used, wrap whole text to prevent autolinking.
$text = '<span class="nolink">' + $text + '</span>';
$text = '<span class="nolink">' . $text . '</span>';
} else {
if ($hasinline) {
// If the default inline TeX delimiters \( \) are present, wrap each pair in nolink.