Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/filter/mathjaxloader/filter.php

    r136 r1331  
    144144            $text = str_replace('[/tex]', '\\)', $text);
    145145            // E.g. "$$ blah $$".
    146             $text = preg_replace('|\$\$[\S\s]\$\$|u', '\\(\1\\)', $text);
     146            $text = preg_replace('|\$\$([\S\s]*?)\$\$|u', '\\(\1\\)', $text);
    147147            // E.g. "\[ blah \]".
    148148            $text = str_replace('\\[', '\\(', $text);
Note: See TracChangeset for help on using the changeset viewer.