# Markdown rendering issue with image surrounded with HTML

**URL:** https://meta.discourse.org/t/markdown-rendering-issue-with-image-surrounded-with-html/152801
**Category:** Bug
**Created:** [May 26, 2020, 5:21pm UTC](https://meta.discourse.org/t/markdown-rendering-issue-with-image-surrounded-with-html/152801 "2020-05-26T17:21:21Z")
**Posts on this page:** 1
**Showing post:** 30

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [March 29, 2022, 10:51am UTC](https://meta.discourse.org/t/markdown-rendering-issue-with-image-surrounded-with-html/152801/30 "2022-03-29T10:51:21Z")

</div>

This should be resolved by:

[https://github.com/discourse/discourse/commit/720e1ca9e79a00acf72e77a42de3f421ff661081](https://github.com/discourse/discourse/commit/720e1ca9e79a00acf72e77a42de3f421ff661081)

[https://github.com/discourse/discourse/commit/b2a8dc4c0fb80a6ef7721b310f2c59eebb218670](https://github.com/discourse/discourse/commit/b2a8dc4c0fb80a6ef7721b310f2c59eebb218670)

Let’s try it here on Meta.

```plaintext
<div>
Image in an HTML block:
<img src="..." width=100 height=100>
</div>

```

Image in an HTML block: ![](https://global.discourse-cdn.com/meta/original/3X/f/c/fc92fefd9e43791e7e4d0db208ecee016a228980.jpeg)

---

_[View the full topic](https://meta.discourse.org/t/markdown-rendering-issue-with-image-surrounded-with-html/152801)._
