Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New discussion template does not always format post content to html #19

Open
ctml91 opened this issue May 10, 2021 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ctml91
Copy link

ctml91 commented May 10, 2021

Bug Report

Current Behavior
Sometimes a new discussion email has not html formatting applied for the post content. The behaviour is sometimes observed by submitting a lengthy post consisting of various elements such as code blocks, headers, links. Although I cannot track down what the condition is that is causing it.

For testing, I tagged a second user in the post so that the mentions template would get used. The user received two emails, one for the mention and one for tag subscription. The new discussion email was not formatted properly, while the user mentioned email was.

Environment

  • Flarum version: beta 15
  • PHP version: 7.4
Output of "php flarum info", run this in terminal in your Flarum directory.
@ctml91 ctml91 added the bug Something isn't working label May 10, 2021
@ctml91
Copy link
Author

ctml91 commented Jan 23, 2025

Just wanted to say this is still an issue and I believe the cause may be certain characters in the post content, specifically < because it's used for html opening tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant