We've noticed (here) that using adding a HTML img tag with a width or height attribute along with an alt attr can fail to render a preview depending on the order of those attributes.
Steps to reproduce:
Using a pagedown-enabled textarea (e.g. the About me section in the Profile editor on StackOverflow.com), enter the following content:
1. <img src="https://placekitten.com/200/300" width="20" alt="This will show">
2. <img src="https://placekitten.com/200/300" alt="This will not show" width="20">
3. <img src="https://placekitten.com/200/300" width="20">
Expected result
Three numbered items, each with a small cat picture beside them
Actual result
Only the first and third images are shown:
It's not critical, but it has caused us user confusion and pain. Hope this report helps - and thanks!
We've noticed (here) that using adding a HTML
img
tag with awidth
orheight
attribute along with analt
attr can fail to render a preview depending on the order of those attributes.Steps to reproduce:
Using a pagedown-enabled textarea (e.g. the
About me
section in the Profile editor on StackOverflow.com), enter the following content:Expected result Three numbered items, each with a small cat picture beside them
Actual result Only the first and third images are shown:
It's not critical, but it has caused us user confusion and pain. Hope this report helps - and thanks!