Project

General

Profile

Actions

Defect #43420

open

Markdown alerts are missing styling in email notifications

Added by Go MAEDA about 10 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

In email notifications, Markdown alerts (such as tip, important, caution, warning, and note) are not rendered properly because their styles are not defined in the mailer layout.

The attached patch fixes this issue by adding CSS styles for Markdown alerts to mailer.html.erb.

The following screenshots show the appearance before and after applying the patch. The mail client used is MailCatcher.

Before:

After:


Files

before@2x.png (86.1 KB) before@2x.png Go MAEDA, 2025-10-30 11:32
after@2x.png (195 KB) after@2x.png Go MAEDA, 2025-10-30 11:32
fix-alertbox-in-email.patch (1.24 KB) fix-alertbox-in-email.patch Go MAEDA, 2025-10-30 11:34

Related issues

Related to Redmine - Feature #42603: Enable commonmark alert extensionClosedMarius BĂLTEANU

Actions
Actions #1

Updated by Go MAEDA about 10 hours ago

Actions

Also available in: Atom PDF