*API: better version gen, added check for read-only api, added allpages params descri...
[lhc/web/wiklou.git] / includes / api / ApiFormatBase.php
index f6d7dce..64f6b95 100644 (file)
@@ -142,6 +142,8 @@ abstract class ApiFormatBase extends ApiBase {
                $text = ereg_replace("api\\.php\\?[^ ()<\n\t]+", '<a href="\\0">\\0</a>', $text);
                // make strings inside * bold
                $text = ereg_replace("\\*[^<>\n]+\\*", '<b>\\0</b>', $text);
+               // make strings inside $ italic
+               $text = ereg_replace("\\$[^<>\n]+\\$", '<b><i>\\0</i></b>', $text);
 
                return $text;
        }