]> git.mjollnir.org Git - moodle.git/commitdiff
Missing a stripslashes() so TeX functions didn't work
authorthepurpleblob <thepurpleblob>
Tue, 11 Sep 2007 14:55:34 +0000 (14:55 +0000)
committerthepurpleblob <thepurpleblob>
Tue, 11 Sep 2007 14:55:34 +0000 (14:55 +0000)
Merged from STABLE_18

filter/tex/texdebug.php

index 3b2ad1e21b3dad6d0da114cc42c90a5957fc08ef..ce54e08b29e9d934c73f5bffb38f26b88b6f8d34 100644 (file)
         $gif = "$latex->temp_dir/$md5.gif";
 
         // put the expression as a file into the temp area
+        $expression = stripslashes( $expression );
         $expression = html_entity_decode( $expression );
         $output .= "<p>Processing TeX expression:</p><pre>$expression</pre>\n";
         $doc = $latex->construct_latex_document( $expression );