From 77dc8fe893b2c6841808d3d0ee97ae8ff7e8e6e8 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sat, 17 Apr 2010 15:31:58 +0000 Subject: [PATCH] Bug 23190#c7 Mark tex text as class="tex". --- includes/Math.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1