img: If a class is specified, don't also put the img in the img class.
parent
7ba0f7d297
commit
8555d10f63
|
@ -156,10 +156,7 @@ sub preprocess (@) {
|
||||||
$imgurl="$config{url}/$imglink";
|
$imgurl="$config{url}/$imglink";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exists $params{class}) {
|
if (! exists $params{class}) {
|
||||||
$params{class}.=" img";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$params{class}="img";
|
$params{class}="img";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,8 @@ ikiwiki (3.20100927) UNRELEASED; urgency=low
|
||||||
* websetup: Fix defaults of checkboxes in advanced mode.
|
* websetup: Fix defaults of checkboxes in advanced mode.
|
||||||
* monotone: Fix recentchanges page when the srcdir is not at the top
|
* monotone: Fix recentchanges page when the srcdir is not at the top
|
||||||
of the monotone workspace. Thanks, tommyd.
|
of the monotone workspace. Thanks, tommyd.
|
||||||
|
* img: If a class is specified, don't also put the img in the img
|
||||||
|
class.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Wed, 29 Sep 2010 11:58:23 -0400
|
-- Joey Hess <joeyh@debian.org> Wed, 29 Sep 2010 11:58:23 -0400
|
||||||
|
|
||||||
|
|
|
@ -27,3 +27,5 @@ I would prefer if the `img` class were only added if no class attribute is
|
||||||
passed.
|
passed.
|
||||||
|
|
||||||
If you keep the current behaviour, please document it.
|
If you keep the current behaviour, please document it.
|
||||||
|
|
||||||
|
> [[done]] --[[Joey]]
|
||||||
|
|
Loading…
Reference in New Issue