dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87bae60
)
Oops, invalid chars in bracketed external links should
author
Wil Mahan
<wmahan@users.mediawiki.org>
Mon, 11 Oct 2004 19:15:24 +0000
(19:15 +0000)
committer
Wil Mahan
<wmahan@users.mediawiki.org>
Mon, 11 Oct 2004 19:15:24 +0000
(19:15 +0000)
be added to the link description, not the trail.
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
e516969
..
04ac280
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-942,7
+942,7
@@
class Parser
# removeHTMLtags()) should not be included in
# URLs, per RFC 2396.
if (preg_match('/&(lt|gt);/', $url, $m2, PREG_OFFSET_CAPTURE)) {
- $t
rail = substr($url, $m2[0][1]) . $trail
;
+ $t
ext = substr($url, $m2[0][1]) . ' ' . $text
;
$url = substr($url, 0, $m2[0][1]);
}