From: Platonides Date: Sat, 17 Apr 2010 15:31:58 +0000 (+0000) Subject: Bug 23190#c7 Mark tex text as class="tex". X-Git-Tag: 1.31.0-rc.0~37084 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=77dc8fe893b2c6841808d3d0ee97ae8ff7e8e6e8;p=lhc%2Fweb%2Fwiklou.git Bug 23190#c7 Mark tex text as class="tex". --- diff --git a/includes/Math.php b/includes/Math.php index d42c167911..3a06c5f96b 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -38,7 +38,7 @@ class MathRenderer { if( $this->mode == MW_MATH_SOURCE ) { # No need to render or parse anything more! # New lines are replaced with spaces, which avoids confusing our parser (bugs 23190, 22818) - return ('$ ' . str_replace( "\n", " ", htmlspecialchars( $this->tex ) ) . ' $'); + return ('$ ' . str_replace( "\n", " ", htmlspecialchars( $this->tex ) ) . ' $'); } if( $this->tex == '' ) { return; # bug 8372