# Generic \[wrap\]/Markdown-it Custom Token Types causing errors in RTE

**URL:** https://meta.discourse.org/t/generic-wrap-markdown-it-custom-token-types-causing-errors-in-rte/377922
**Category:** Bug
**Tags:** composer
**Created:** [August 8, 2025, 7:01pm UTC](https://meta.discourse.org/t/generic-wrap-markdown-it-custom-token-types-causing-errors-in-rte/377922 "2025-08-08T19:01:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [August 11, 2025, 2:41am UTC](https://meta.discourse.org/t/generic-wrap-markdown-it-custom-token-types-causing-errors-in-rte/377922/2 "2025-08-11T02:41:14Z")

</div>

Thanks for reporting, @renato is keeping an eye out for edge cases like this, wrap has been our go-to for certain theme components, we will get it working.

---

_[View the full topic](https://meta.discourse.org/t/generic-wrap-markdown-it-custom-token-types-causing-errors-in-rte/377922)._
