MDL-55627 filter_mathjaxloader: use correct string concatenation op

This commit is contained in:
Henning Bostelmann 2016-08-18 17:01:12 +01:00
parent 5c33a0db21
commit f617ac5c75

View File

@ -161,7 +161,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.