From: thepurpleblob Date: Tue, 11 Sep 2007 14:55:34 +0000 (+0000) Subject: Missing a stripslashes() so TeX functions didn't work X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=bad6ba65aee5f3903ffa9450c79e4a8370b60ef3;p=moodle.git Missing a stripslashes() so TeX functions didn't work Merged from STABLE_18 --- diff --git a/filter/tex/texdebug.php b/filter/tex/texdebug.php index 3b2ad1e21b..ce54e08b29 100644 --- a/filter/tex/texdebug.php +++ b/filter/tex/texdebug.php @@ -254,6 +254,7 @@ $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 .= "

Processing TeX expression:

$expression
\n"; $doc = $latex->construct_latex_document( $expression );