* img: Avoid nesting images when linking to another image. Closes: #457780
parent
7a4181e8eb
commit
2332b40595
|
@ -108,7 +108,8 @@ sub preprocess (@) { #{{{
|
||||||
}
|
}
|
||||||
elsif (length bestlink($params{page}, $params{link})) {
|
elsif (length bestlink($params{page}, $params{link})) {
|
||||||
return htmllink($params{page}, $params{destpage},
|
return htmllink($params{page}, $params{destpage},
|
||||||
$params{link}, linktext => $imgtag);
|
$params{link}, linktext => $imgtag,
|
||||||
|
noimageinline => 1);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return $imgtag;
|
return $imgtag;
|
||||||
|
|
|
@ -2,6 +2,7 @@ ikiwiki (2.17) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Improved parentlinks special case for index pages.
|
* Improved parentlinks special case for index pages.
|
||||||
* redir: Support for specifying anchors.
|
* redir: Support for specifying anchors.
|
||||||
|
* img: Avoid nesting images when linking to another image. Closes: #457780
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Wed, 19 Dec 2007 16:39:07 -0500
|
-- Joey Hess <joeyh@debian.org> Wed, 19 Dec 2007 16:39:07 -0500
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue