From 7eefc9f5a33d9d56898111e4e09595a9ed0da8c2 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Sat, 2 Jun 2012 11:46:00 +0200 Subject: [PATCH] (bug 36059) Double escaping of html characters in Math module Change-Id: I6d548d060ac6639fe6d31ddfdae78edbb48ee4cb --- Math.body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Math.body.php b/Math.body.php index 6494637..f0b6758 100644 --- a/Math.body.php +++ b/Math.body.php @@ -68,7 +68,7 @@ class MathRenderer { 'dir' => 'ltr' ) ), - '$ ' . str_replace( "\n", " ", htmlspecialchars( $this->tex ) ) . ' $' + '$ ' . str_replace( "\n", " ", $this->tex) . ' $' ); } if( $this->tex == '' ) {