[image] Make caption a real caption #71

Open
BertrandBordage opened this Issue Aug 18, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

BertrandBordage commented Aug 18, 2012

The most misleading thing about cmsplugin_filer_image is that the field caption renders as a title attribute, not as a figure caption.
I made a commit to change this behavior, but it uses the HTML5 tags figure and figcaption. Since cmsplugin-filer seems to be made for XHTML, I'm asking you if there's a proper way to do it in XHTML without divs.

Collaborator

yakky commented Aug 18, 2012

I admit I don't have an opinion on that.
In a HTML4 / XHTML caption has no defined meaning, so it doesn't make much sense forcing any specific syntax in the default template which pretty much everyone would modify anyway.
I guess that post 0.9 release it would make much more sense migrating all the template to HTML5

Contributor

BertrandBordage commented Aug 18, 2012

Adding a center alignment would also be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment