Bugfix suggested by Laurent GUERBY on wikitech-l
authorArne Heizmann <timwi@users.mediawiki.org>
Mon, 7 Jun 2004 17:19:05 +0000 (17:19 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Mon, 7 Jun 2004 17:19:05 +0000 (17:19 +0000)
includes/Math.php

index 5946061..3397aff 100644 (file)
@@ -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() ) {