Image caption problems: links and line spacing
-
Image captions don’t seem to be working properly with the Hemingway theme. I have two different issues
1) there are extraneous line breaks inserted around links if I try to put links in my captions.
2) line spacing is altered after the captionI can fix issue 2) by editing in “text” mode and inserting a line break after the close-caption tag, but it goes back to the bad state every time I edit in “visual” mode. I can’t find any workaround to issue 1).
Example: https://test-paints.rhcloud.com/2016/02/25/test-post/
Source:
<h3>Light is infinite-dimensional</h3> <i>Okay, what the hell does that even mean???</i> According to physics, light is composed of waves in the electromagnetic field. [caption id="attachment_687" align="aligncenter" width="411"]<img class="aligncenter size-full wp-image-686" src="https://upload.wikimedia.org/wikipedia/commons/f/f5/Fluorescent_lamp_spectrum.jpg" alt="Fluorescent_lamp_spectrum" width="411" height="257" /> Fluorescent lamp reflected by a CD, which spreads out different wavelengths in a manner similar to a prism, but using <a href="https://en.wikipedia.org/wiki/Diffraction">a different physical process</a>. (<a href="https://commons.wikimedia.org/wiki/File:Fluorescent_lamp_spectrum.jpg">source</a>)[/caption]Each wavelength is actually a separate dimension of light. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut dictum sem dictum purus mattis sagittis. Etiam id convallis leo, nec accumsan odio. Ut quis justo augue. In pretium faucibus dui, viverra tempus leo posuere eget. Aenean scelerisque vitae libero a malesuada. Phasellus ultricies vitae orci cursus aliquam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Etiam interdum ipsum sit amet risus porttitor molestie.
- The topic ‘Image caption problems: links and line spacing’ is closed to new replies.