Index: trunk/phase3/languages/LanguageConverter.php |
— | — | @@ -983,11 +983,10 @@ |
984 | 984 | * Wrap math into rawoutput -{R| math }- syntax. |
985 | 985 | */ |
986 | 986 | public function armourMath( $text ) { |
987 | | - // we need to convert '-{' and '}-' to '-{' and '}-' |
988 | | - // to avoid a unwanted '}-' appeared after the math-image. |
| 987 | + // convert '-{' and '}-' to '-{' and '}-' to prevent |
| 988 | + // any unwanted markup appearing in the math image tag. |
989 | 989 | $text = strtr( $text, array( '-{' => '-{', '}-' => '}-' ) ); |
990 | | - $ret = "-{R|$text}-"; |
991 | | - return $ret; |
| 990 | + return $text; |
992 | 991 | } |
993 | 992 | |
994 | 993 | /** |