Show More
@@ -1193,7 +1193,7 b' else' | |||||
1193 |
|
1193 | |||
1194 | // autolink anything like <http://example.com> |
|
1194 | // autolink anything like <http://example.com> | |
1195 |
|
1195 | |||
1196 |
var replacer = function (wholematch, m1) { return "<a href=\"" + m1 + "\" target=\"_blank\" |
|
1196 | var replacer = function (wholematch, m1) { return "<a href=\"" + m1 + "\" target=\"_blank\">" + pluginHooks.plainLinkText(m1) + "</a>"; } | |
1197 |
|
|
1197 | text = text.replace(/<((https?|ftp):[^'">\s]+)>/gi, replacer); | |
1198 |
|
1198 | |||
1199 | // Email addresses: <address@domain.foo> |
|
1199 | // Email addresses: <address@domain.foo> |
General Comments 0
You need to be logged in to leave comments.
Login now