Skip to content

Commit

Permalink
MDL-55627 filter_mathjaxloader: use correct string concatenation op
Browse files Browse the repository at this point in the history
  • Loading branch information
bostelm committed Sep 5, 2016
1 parent 4846a96 commit dbf9bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/mathjaxloader/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function filter($text, array $options = array()) {
$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.
Expand Down

0 comments on commit dbf9bf0

Please sign in to comment.