# Extra spaces added to markdown with rich text pasted

**URL:** <https://meta.discourse.org/t/extra-spaces-added-to-markdown-with-rich-text-pasted/112769>\
**Category:** Bug\
**Created:** [March 28, 2019, 2:02am UTC](https://meta.discourse.org/t/extra-spaces-added-to-markdown-with-rich-text-pasted/112769 "2019-03-28T02:02:09Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)\
**Post date:** [March 28, 2019, 2:02am UTC](https://meta.discourse.org/t/extra-spaces-added-to-markdown-with-rich-text-pasted/112769/1 "2019-03-28T02:02:09Z")

</div>

Not sure if this is intentional / necessary for Markdown related reasons, but just noticed when I pasted some rich text into the composer, strings with formatting (bold / italic) seem to have extra spaces inserted before and after the `*` or `**` tags.

See example here e.g. the URL in the quoted text or the bolded ` **SPRING2019** ` near the bottom.

 ![13%20PM](https://global.discourse-cdn.com/meta/original/3X/f/6/f6a678b77a013bcb5744d24fe8df0e1ffc1b8e16.png)

The quoted text above was copied from a web page; the below “sale” text copied from an email. Not sure if this always happens but at least two sources where I’m seeing it.

---

_[View the full topic](https://meta.discourse.org/t/extra-spaces-added-to-markdown-with-rich-text-pasted/112769)._
