You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
I've discovered a strange behavior with the img_unautop function.
If in a post you insert a picture and then start the next text paragraph with a link, it happens that the whole thing (the image and the paragraph) gets wrapped in the <figure> tag, displaying the text with a different line height.
An example:
<a href="some_link"><img class="alignnone" alt="error" src="image.png" /></a>
<a href="http://example.com">Example</a> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
I've found that a solution is to put an empty <span> tag before the link in the paragraph.
The text was updated successfully, but these errors were encountered:
I've discovered a strange behavior with the
img_unautop
function.If in a post you insert a picture and then start the next text paragraph with a link, it happens that the whole thing (the image and the paragraph) gets wrapped in the
<figure>
tag, displaying the text with a different line height.An example:
I've found that a solution is to put an empty
<span>
tag before the link in the paragraph.The text was updated successfully, but these errors were encountered: