aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/img_plugin_and_class_attr.mdwn
diff options
context:
space:
mode:
authorJavier Rojas <jerojasro@devnull.li>2010-09-22 22:41:18 -0500
committerJavier Rojas <jerojasro@devnull.li>2010-09-22 22:41:18 -0500
commit4a5d68a139e946b64a89625919a5398fd5268a1f (patch)
tree3b82b8bb59ba3afe4c87c440264f33f4d9410e24 /doc/bugs/img_plugin_and_class_attr.mdwn
parent95f7b2ffb11d014763f80a1b63450c08e7f5ff05 (diff)
downloadikiwiki-4a5d68a139e946b64a89625919a5398fd5268a1f.tar
ikiwiki-4a5d68a139e946b64a89625919a5398fd5268a1f.tar.gz
possible bug with img plugin
Diffstat (limited to 'doc/bugs/img_plugin_and_class_attr.mdwn')
-rw-r--r--doc/bugs/img_plugin_and_class_attr.mdwn25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/bugs/img_plugin_and_class_attr.mdwn b/doc/bugs/img_plugin_and_class_attr.mdwn
new file mode 100644
index 000000000..7fd457c31
--- /dev/null
+++ b/doc/bugs/img_plugin_and_class_attr.mdwn
@@ -0,0 +1,25 @@
+The [[plugins/img]] plugin is not generating the proper `class`
+attribute in its HTML output.
+
+The plugin receives something like the following:
+
+ [[!img 129199047595759991.jpg class="centered"]]
+
+And is supossed to generate an HTML code like the following:
+
+ <img src="129199047595759991.jpg" class="centered" />
+
+But is generating the following
+
+ <img src="129199047595759991.jpg" class="centered img" />
+
+This seems to be happening with all images inserted using the plugin (that use
+the `class=yaddayadda` argument to the `img` directive.) I remember it didn't
+happen before, and I suspect an ikiwiki upgrade is to blame. I tested with a
+blog created from scratch, and a single post, and the problem appeared there
+too.
+
+This is happening with version 3.20100815 of ikiwiki.
+
+[[jerojasro]]
+