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:
061ab79
)
Trivial fix from Rowan Collins to better handle
author
Wil Mahan
<wmahan@users.mediawiki.org>
Wed, 6 Oct 2004 19:22:42 +0000
(19:22 +0000)
committer
Wil Mahan
<wmahan@users.mediawiki.org>
Wed, 6 Oct 2004 19:22:42 +0000
(19:22 +0000)
malformed images with captions containing links.
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
53aa59a
..
5977b7b
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1215,6
+1215,8
@@
class Parser
}
if ( !$found ) {
# we couldn't find the end of this imageLink, so output it raw
+ #but don't ignore what might be perfectly normal links in the text we've examined
+ $text = $this->replaceInternalLinks($text);
$s .= $prefix . '[[' . $link . '|' . $text;
# note: no $trail, because without an end, there *is* no trail
continue;