diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-25 15:00:31 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-25 15:00:31 -0400 |
commit | 0740855836c07165c9dd219ac1e910bb72e2409f (patch) | |
tree | 7e1355d9df27bd935f847125230d9a6906ae1379 /doc/bugs | |
parent | aac1428491c850b74800f59926dcbc3c7bc6dd84 (diff) | |
parent | 66e3a164223bc36d14c5b304f902f6d5413045c7 (diff) |
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/bugs')
-rw-r--r-- | doc/bugs/img_plugin_and_class_attr.mdwn | 25 |
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..4dd0df4ec --- /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]] + |