agusmakmun / agusmakmun/django-markdown-editor
<img> tag does not seem to work
- Vorherrschende Sprache
- JavaScript
- Sterne
- 901
- Forks
- 1.3k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I have the following issue. When I add this to the editor the `` tag does not seem to work, no problems with `` and other tags.
```
++some fractal++
Embedded in MD as
``
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:
<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"`
and link also works
[Fractal](https://i.imgur.com/rK5t5LP.png)
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
``
the picture is ok:

Embedded as `` tag, it does not seem to work. Included in the MD text is:
`
`
It displays like:

In the debugging inspector it renders like:
`
src="https://i.imgur.com/rK5t5LP.png"/>
In iframe it's ok (at least when you leave it between empty lines)
``
<iframe width="700" src="https://i.imgur.com/rK5t5LP.png">
and link also works
[Fractal](https://i.imgur.com/rK5t5LP.png)
What is wrong with the `img` tag??
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.