Index: trunk/phase3/includes/api/ApiFormatBase.php |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | // This regex hacks around bug 13218 (" included in the URL) |
266 | 266 | $text = preg_replace( "#(($protos).*?)(")?([ \\'\"<>\n]|<|>|")#", '<a href="\\1">\\1</a>\\3\\4', $text ); |
267 | 267 | // identify requests to api.php |
268 | | - $text = preg_replace( "#api\\.php\\?[^ \\()<\n\t]+#", '<a href="\\0">\\0</a>', $text ); |
| 268 | + $text = preg_replace( "#api\\.php\\?[^ <\n\t]+#", '<a href="\\0">\\0</a>', $text ); |
269 | 269 | if ( $this->mHelp ) { |
270 | 270 | // make strings inside * bold |
271 | 271 | $text = preg_replace( "#\\*[^<>\n]+\\*#", '<b>\\0</b>', $text ); |