Email reply has quoted message wrapped in "details" tag

In the past several days, we’ve seen users that reply by email get the quoted message included in their post, but wrapped in the expandable [details] tag.

Example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacus sapien, 
mollis sit amet ex rhoncus, euismod mattis dui. Vestibulum tellus tellus, 
volutpat ut hendrerit vel, gravida vitae lacus.

[details=...]
On Thu, Mar 10, 2016 at 11:03 PM, Example User <discourse+noreply@example.org> wrote:

> example <https://discourse.example.org/users/example> Example User
> <https://discourse.example.org/users/example> User Title
> March 10
>
> In aliquet urna vitae molestie ultricies. Etiam libero nulla, efficitur a dui 
> vel, vehicula ornare justo. Nunc porttitor laoreet feugiat. 

... etc. ...
[/details]

It strikes me that if it’s possible to catch this and wrap it like that, it should also be possible to strip it out entirely, no? There’s really no semantic value in including this that I can see.

I’m not sure if this is a bug or a feature decision that might not be so great (IMHO), but starting with the presumption of a bug.

1 Like

Thanks for reporting this :thumbsup: I just pushed a fix along with an improved UX

https://github.com/discourse/discourse/commit/6d84a8a1b3187101ebf184a42664f2310b2f8638

4 Likes

This topic was automatically closed after 6 hours. New replies are no longer allowed.