Inserting raw HTML signature in account settings strips it of styles
Open
Nobody has claimed this yet.
1. to develop
enhancement
feature:composer
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Insert raw HTML signature featuring inline styles into the Rich Text signature editor, using the "Source" element.
- Save and open new message
Expected behavior
The provided HTML is inserted verbatim into the end of the new message
Actual behavior
The provided HTML is stripped of inline styles and converted into a much more basic version, with incorrect layouts and styling.
Mail app version
5.11.5
Nextcloud version
34.0.1
Mailserver or service
Docker Mailcow
Operating system
Nextcloud AIO
PHP engine version
No response
Nextcloud memory caching
No response
Web server
No response
Database
No response
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the Rich Text signature editor using its Source element, then follow how the signature is processed when a new message is opened. Done means inline styles and the provided HTML layout are retained instead of being stripped or simplified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100