mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-55627 filter_mathjaxloader: use correct string concatenation op
This commit is contained in:
parent
5c33a0db21
commit
f617ac5c75
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user