# 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:** 5

<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, 7:22am UTC](https://meta.discourse.org/t/text-after-div-tags-does-not-get-rendered-properly/407858/5 "2026-07-17T07:22:45Z")

</div>

It’s the precise positioning of the `<div data-theme-toc="true"> </div>`. In this case it was the first thing in the post and text started on the next line. We wouldn’t have even noticed if that first line didn’t contain markdown. Not sure if that makes sense.

If you put a blank line after that code, everything works. Hence [Data-theme-toc="true" should be placed at the top of a post in it's own paragraph](https://meta.discourse.org/t/data-theme-toc-true-should-be-placed-at-the-top-of-a-post-in-its-own-paragraph/407863).

---

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