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
Adding or removing a lone image inside a paragraph tag when the paragraph above also has a change doesn't show as an addition or a deletion for the image. Tested on http://php-htmldiff.caxy.com/ with this code:
OLD HTML:
<p>this is a test</p>
<p>new test</p>
<p><img src="https://storage.googleapis.com/gweb-uniblog-publish-prod/static/blog/images/google-200x200.7714256da16f.png" alt="" /></p>
<p></p>
<p></p>
NEW HTML:
<p>this is a test</p>
<p></p>
<p></p>
The text was updated successfully, but these errors were encountered:
We've been experiencing the same issue. Our text editor often produces a single img tag in a paragraph. It appears to work fine when there is (for example) other text or whitespace inside the paragraph, but when the paragraph only contains the image there is no <ins> or <del> tag added.
Adding or removing a lone image inside a paragraph tag when the paragraph above also has a change doesn't show as an addition or a deletion for the image. Tested on http://php-htmldiff.caxy.com/ with this code:
OLD HTML:
NEW HTML:
The text was updated successfully, but these errors were encountered: