Project

General

Profile

Actions

Defect #43420

closed

Markdown alerts are missing styling in email notifications

Added by Go MAEDA 28 days ago. Updated 24 days ago.

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

0%

Estimated time:
Resolution:
Fixed
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
Blocked by Redmine - Feature #43425: Update colors of Markdown "Warning" and "Caution" alerts to be consistent with standardsClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA 28 days ago

Actions #2

Updated by Go MAEDA 26 days ago

  • Blocked by Feature #43425: Update colors of Markdown "Warning" and "Caution" alerts to be consistent with standards added
Actions #3

Updated by Go MAEDA 25 days ago

  • Status changed from New to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the fix in r24107.

Actions #4

Updated by Go MAEDA 24 days ago

  • Status changed from Resolved to Closed

Merged the fix into 6.1-stable branch in r24111.

Actions

Also available in: Atom PDF