nextcloud / nextcloud/mail

Inserting raw HTML signature in account settings strips it of styles

Open
#13,672 3 comments 0 reactions 0 assignees View on GitHub

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
  1. Insert raw HTML signature featuring inline styles into the Rich Text signature editor, using the "Source" element.
  2. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.