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

After editing text/plain drafts save them as text/html which was missing #1952

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

LunarX
Copy link
Contributor

@LunarX LunarX commented Jul 5, 2024

When editing a draft of mimeType "text/plain", we save the draft with the same mimeType (i.e. text/plain) even if we send a content representing a text/html which completely breaks the draft's content.

This PR forces the mimeType to text/html which is what we always send

@LunarX LunarX added bug Something isn't working quick A pull request consisting of a few lines labels Jul 5, 2024
@LunarX LunarX requested a review from a team July 5, 2024 14:16
@LunarX LunarX self-assigned this Jul 5, 2024
@LunarX LunarX changed the title Fix editing text/plain drafts would keep saving them as text/plain in… Fix editing text/plain drafts would keep saving them as text/plain instead of text/html Jul 5, 2024
@LunarX LunarX changed the title Fix editing text/plain drafts would keep saving them as text/plain instead of text/html After editing text/plain drafts save them as text/html which was missing Jul 5, 2024
Copy link

sonarcloud bot commented Jul 5, 2024

@FabianDevel FabianDevel merged commit d5b2602 into fix-sanitization-body-nesting Jul 8, 2024
9 checks passed
@FabianDevel FabianDevel deleted the fix-plain-text-edition branch July 8, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quick A pull request consisting of a few lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants