X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fapi%2FApiFormatBase.php;h=64f6b95ac62569b4a18a5afa6ecce009623d8c83;hb=c01eb06e5ef995c4163e6dacb9a596226db5d57e;hp=f6d7dce3eb2834578e3de14717b0e08356c150ed;hpb=626eb19cbbc2ceff3fc8cca0cdd00d1ac947d619;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index f6d7dce3eb..64f6b95ac6 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -142,6 +142,8 @@ abstract class ApiFormatBase extends ApiBase { $text = ereg_replace("api\\.php\\?[^ ()<\n\t]+", '\\0', $text); // make strings inside * bold $text = ereg_replace("\\*[^<>\n]+\\*", '\\0', $text); + // make strings inside $ italic + $text = ereg_replace("\\$[^<>\n]+\\$", '\\0', $text); return $text; }