wrap tex html output in span class="texhtml"
authorGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 8 Jun 2004 13:19:21 +0000 (13:19 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 8 Jun 2004 13:19:21 +0000 (13:19 +0000)
includes/Math.php

index 3397aff..8b03af6 100644 (file)
@@ -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>';
                }
        }