diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2004-06-13 01:15:16 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2004-06-13 01:15:16 +0000 |
commit | 1d6017272668b85e6944039381854a3851b6ae01 (patch) | |
tree | 04f07e820d7f8ee252fbe5c1b1f8f0b84a3ab95b /includes/Math.php | |
parent | aeac600626ab9b92f8c09c919ba05f1e62d19cd8 (diff) | |
download | mediawikicore-1d6017272668b85e6944039381854a3851b6ae01.tar.gz mediawikicore-1d6017272668b85e6944039381854a3851b6ae01.zip |
Merge 1.3.0beta3 from HEAD
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/4051
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>'; } } |