Email title should have HTML tags stripped

Created on 26 June 2024, 2 months ago
Updated 30 July 2024, about 1 month ago

Problem/Motivation

Currently the title, especially for PHP errors, may contain HTML, which looks weird. We should strip_tags() from the title by default, I think or provide stripped tokens or both.

As the subject is also configurable and uses tokens, I think it would be better to have tokens with stripped tags?

$subject = $this->token()->replace($subject, $tokenValues, ['clear' => TRUE]);
            $params = [
              'subject' => $subject,
              'body' => $body,
            ];

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024