# Text after div tags does not get rendered properly

**URL:** https://meta.discourse.org/t/text-after-div-tags-does-not-get-rendered-properly/407858
**Category:** Support
**Tags:** composer
**Created:** [July 17, 2026, 4:27am UTC](https://meta.discourse.org/t/text-after-div-tags-does-not-get-rendered-properly/407858 "2026-07-17T04:27:41Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![one1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/one1/32/493591_2.png) [@one1](https://meta.discourse.org/u/one1)
#### Post date: [July 17, 2026, 4:27am UTC](https://meta.discourse.org/t/text-after-div-tags-does-not-get-rendered-properly/407858/1 "2026-07-17T04:27:41Z")

</div>

Text that appears on a line directly following a `div` tag does not render correctly. Placing a blank line after the line with the div solves it.

```plaintext
<div>divved text</div>
[a link]( `/admin/email/templates`.) **italic**

```

divved text
[a link]( `/admin/email/templates`.) \*\*italic\*\*

Screenshot:

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/3/9/d391f34aed36873aa873da8a2887baf71277b8aa.png)

_ **Other html doesn’t cause the problem:** _

```plaintext
<small>small text</small>
[a link]( `/admin/email/templates`.) **italic**

```

small text  
a link **italic**

```plaintext
<span>spanned text</span>
[a link]( `/admin/email/templates`.) **italic**

```

spanned text  
a link **italic**

* * *

My guess is that once html is detected, the following line is both sucked into the processor and subsequently _not_ parsed for markdown. You can test this by putting some text on the line after the div and at the beginning of the next line:

```plaintext
<div>divved text</div> end of div
beginning of markdown [a link]( `/admin/email/templates`.) **italic**

```

divved text
 end of div beginning of markdown [a link]( `/admin/email/templates`.) \*\*italic\*\*

Screenshot:

 ![image](https://global.discourse-cdn.com/meta/original/4X/5/9/c/59c2087e15c02fde087de2a76f9186fedfe723c9.png)

---

_[View the full topic](https://meta.discourse.org/t/text-after-div-tags-does-not-get-rendered-properly/407858)._
