# Using editor fulllpost quote button on a post which uses HTML formatting mangles it

**URL:** <https://meta.discourse.org/t/using-editor-fulllpost-quote-button-on-a-post-which-uses-html-formatting-mangles-it/28249>\
**Category:** Bug\
**Created:** [03.Май.2015 03:12:52 UTC](https://meta.discourse.org/t/using-editor-fulllpost-quote-button-on-a-post-which-uses-html-formatting-mangles-it/28249 "2015-05-03T03:12:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [05.Май.2015 00:30:00 UTC](https://meta.discourse.org/t/using-editor-fulllpost-quote-button-on-a-post-which-uses-html-formatting-mangles-it/28249/6 "2015-05-05T00:30:00Z")

</div>

I fixed this:

> [@irrationalJ](#):
>
> OK, I **think** this is a bug. However, if it turns out that it actually is _not_ a bug, then I look forward learning _why_ it isn't.
> 
> While the option of using HTML to format your entire post is possible with DIscourse, there seems to be a problem quoting from a post which used HTML as **the** markup language.
> 
> What appears to happen is that all of the `\<` & `\>` characters around the HTML tags are converted to the `\<` and `\>` symbols. So, `
> 
> ` in the original HTML becomes `\<p\>` when the post is quoted. The result is that the quoted text is unformatted and IMO unreadable.
> 
> I'll provide an example of this in a reply to this post below …
> 
> **Note:**  
> How could this ever be a problem worth fixing? Who would be so insane as to create not just one, but thousands of Discourse posts using only HTML? It happened to the [tudiabetes.org](http://www.tudiabetes.org/) site. When the site was migrated from Ning to Discourse the Ning posts were copied/migrated to the Discourse site "as is" (I am guessing). This _"bug"_ makes it infeasible to quote anything for reference from the migrated HTML posts.

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

It **will** raise other edge cases, but lets live with it and see who complains

---

_[View the full topic](https://meta.discourse.org/t/using-editor-fulllpost-quote-button-on-a-post-which-uses-html-formatting-mangles-it/28249)._
