1 On [[ikiwiki/directive/img/]] I read that
3 > You can also pass alt, title, class, align, id, hspace, and vspace
4 > parameters. These are passed through unchanged to the html img tag.
6 but when I pass `class="myclass"` to an img directive, I obtain
8 <img class="myclass img" ...
10 I found that this behaviour was added in commit f6db10d:
12 > img: Add a margin around images displayed by this directive.
14 > Particularly important for floating images, which could before be placed
15 > uncomfortably close to text.
19 if (exists $params{class}) {
20 $params{class}.=" img";
26 I would prefer if the `img` class were only added if no class attribute is
29 If you keep the current behaviour, please document it.