Report a Bug
Let's test Decidim and report bugs together
Special character like ampersand not accepted on email subject
Describe the bug
When using special character (ampersand, quote, double quote etc...) the email subject is displaying them as escaped. The email subject is not HTML IMHO, therefore HTML elements should not be escaped and should be displayed.
To Reproduce
- Create a particpatory space and use an ampersand in the name (like "Example & co")
- Create a proposal module and submit a proposal with the following title: "Proposal & else"
- Check the mail, it should have the following subject: "New proposal "Proposal & else" in Example & co"
Expected behavior
As a user I expect the email subject to be "New proposal "Proposal & else" in Example & co"
Report inappropriate content
Is this content inappropriate?
Comment details
You are seeing a single comment
View all comments
Conversation with Armand
I've managed to fix the problem and could propose an implementation
Hi @Armand-OSP , what kind of fix did you implemented? Thank you!
Hi @Ariadna_VA ! Armand is off this week, but you can find his fix here: https://github.com/armandfardeau/decidim/pull/16/files
We'd like to send it to decidim/decidim, as this bug happens a lot for Decidim french users
Loading comments ...