Fix for capitalized URL schemes in autolinks.
This commit is contained in:
parent
367f394933
commit
d6d9fe79d5
1 changed files with 1 additions and 1 deletions
|
|
@ -1233,7 +1233,7 @@ class Markdown_Parser {
|
|||
|
||||
|
||||
function doAutoLinks($text) {
|
||||
$text = preg_replace_callback('{<((https?|ftp|dict):[^\'">\s]+)>}',
|
||||
$text = preg_replace_callback('{<((https?|ftp|dict):[^\'">\s]+)>}i',
|
||||
array(&$this, '_doAutoLinks_url_callback'), $text);
|
||||
|
||||
# Email addresses: <address@domain.foo>
|
||||
|
|
|
|||
Loading…
Reference in a new issue