diff options
Diffstat (limited to 'includes/Math.php')
-rw-r--r-- | includes/Math.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Math.php b/includes/Math.php index 5946061fb48f..8b03af6adcbb 100644 --- a/includes/Math.php +++ b/includes/Math.php @@ -30,7 +30,7 @@ class MathRenderer { if( $this->mode == MW_MATH_SOURCE ) { # No need to render or parse anything more! - return ('$ '.htmlspecialchars( $tex ).' $'); + return ('$ '.htmlspecialchars( $this->tex ).' $'); } if( !$this->_recall() ) { @@ -182,7 +182,7 @@ class MathRenderer { (($this->mode == MW_MATH_MODERN || $this->mode == MW_MATH_MATHML) && ($this->conservativeness == 0))) { return $this->_linkToMathImage(); } else { - return $this->html; + return '<span class="texhtml">'.$this->html.'</span>'; } } |