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
I have the following issue. When I add this to the editor the <img> tag does not seem to work, no problems with <iframe> and other tags.
++some fractal++
Embedded in MD as
`![Figure_1.png](https://i.imgur.com/rK5t5LP.png)`
the picture is ok:
![Figure_1.png](https://i.imgur.com/rK5t5LP.png)
Embedded as `<img>` tag, it does not seem to work. Included in the MD text is:
`<img width="500" src="https://i.imgur.com/rK5t5LP.png"/>`
It displays like:
<img width="500" src="https://i.imgur.com/rK5t5LP.png"/>
In the debugging inspector it renders like:
`<p><img <a="" href="http://src="https://i.imgur.com" width="500">src="https://i.imgur.com/rK5t5LP.png"/></p>`
<br>
In iframe it's ok (at least when you leave it between empty lines)
`<iframe src="https://i.imgur.com/rK5t5LP.png"</iframe>`
<iframe width="700" src="https://i.imgur.com/rK5t5LP.png"></iframe>
and link also works
[Fractal](https://i.imgur.com/rK5t5LP.png)
<br>
What is wrong with the `img` tag??
When added to this github editor it all works fine (except iframe):
++some fractal++
Embedded in MD as ![Figure_1.png](https://i.imgur.com/rK5t5LP.png)
the picture is ok:
Embedded as <img> tag, it does not seem to work. Included in the MD text is: <img width="500" src="https://i.imgur.com/rK5t5LP.png"/>
It displays like:
In the debugging inspector it renders like: <p><img <a="" href="http://src="https://i.imgur.com" width="500">src="https://i.imgur.com/rK5t5LP.png"/></p>
In iframe it's ok (at least when you leave it between empty lines) <iframe src="https://i.imgur.com/rK5t5LP.png"</iframe>
Aha, you're right @bvermeulen, not sure why if directly use <img tag seems didn't work, meanwhile using both <iframe and <p><img ...></p> are works. I think it comes from markdown renderer itself.
I have the following issue. When I add this to the editor the
<img>
tag does not seem to work, no problems with<iframe>
and other tags.When added to this github editor it all works fine (except
iframe
):++some fractal++
Embedded in MD as
![Figure_1.png](https://i.imgur.com/rK5t5LP.png)
the picture is ok:
Embedded as
<img>
tag, it does not seem to work. Included in the MD text is:<img width="500" src="https://i.imgur.com/rK5t5LP.png"/>
It displays like:
In the debugging inspector it renders like:
<iframe width="700" src="https://i.imgur.com/rK5t5LP.png"></iframe><p><img <a="" href="http://src="https://i.imgur.com" width="500">src="https://i.imgur.com/rK5t5LP.png"/></p>
In iframe it's ok (at least when you leave it between empty lines)
<iframe src="https://i.imgur.com/rK5t5LP.png"</iframe>
and link also works
Fractal
What is wrong with the
img
tag??The text was updated successfully, but these errors were encountered: