Index: trunk/phase3/includes/Math.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | if( $this->mode == MW_MATH_SOURCE ) { |
40 | 40 | # No need to render or parse anything more! |
41 | 41 | # New lines are replaced with spaces, which avoids confusing our parser (bugs 23190, 22818) |
42 | | - return ('$ ' . str_replace( "\n", " ", htmlspecialchars( $this->tex ) ) . ' $'); |
| 42 | + return ('<span class="tex">$ ' . str_replace( "\n", " ", htmlspecialchars( $this->tex ) ) . ' $</span>'); |
43 | 43 | } |
44 | 44 | if( $this->tex == '' ) { |
45 | 45 | return; # bug 8372 |