OK, I couldn't find this one.
I have configured VFE to publish xhtml
EG
<standard autoclean="true" publish="xhtml" publishviewassource="false" continueparagraph="false">
Now I understood this as ensuring the content would result in xhtml so that I could throw it into an XML parser or more specifically an XSLT transform.
Things like <br> tags turn in <br /> which is great. Not so for the <img> tag. When using the image selection tool, it does not close off the <img> tag EG <img /> <img></img>
1. Is there a configuration I have missed? Should this work?
2. I was trying to come up with a regex that would solve this, closing specific tags *if* they were not already closed. Has anyone done this, I found it to be quite tricky.
<img > - should be closed
<img /> - should be left alone
<img></img> should be left alone
Thanks
John Cuiuli