mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-55627' of https://github.com/bostelm/moodle
This commit is contained in:
commit
9423674717
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class filter_mathjaxloader extends moodle_text_filter {
|
||||||
$PAGE->requires->yui_module('moodle-filter_mathjaxloader-loader', 'M.filter_mathjaxloader.typeset');
|
$PAGE->requires->yui_module('moodle-filter_mathjaxloader-loader', 'M.filter_mathjaxloader.typeset');
|
||||||
if ($hasextra) {
|
if ($hasextra) {
|
||||||
// If custom dilimeters are used, wrap whole text to prevent autolinking.
|
// If custom dilimeters are used, wrap whole text to prevent autolinking.
|
||||||
$text = '<span class="nolink">' + $text + '</span>';
|
$text = '<span class="nolink">' . $text . '</span>';
|
||||||
} else {
|
} else {
|
||||||
if ($hasinline) {
|
if ($hasinline) {
|
||||||
// If the default inline TeX delimiters \( \) are present, wrap each pair in nolink.
|
// If the default inline TeX delimiters \( \) are present, wrap each pair in nolink.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue