From bad6ba65aee5f3903ffa9450c79e4a8370b60ef3 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Tue, 11 Sep 2007 14:55:34 +0000 Subject: [PATCH] Missing a stripslashes() so TeX functions didn't work Merged from STABLE_18 --- filter/tex/texdebug.php | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.39.5