Page MenuHomePhabricator

Fix an issue where transactions in mail were always rendered as text
ClosedPublic

Authored by epriestley on Jan 14 2019, 7:31 PM.
Tags
None
Referenced Files
F19938699: D19968.diff
Tue, Apr 14, 6:21 AM
F19800577: D19968.diff
Feb 28 2026, 4:25 PM
F19785146: D19968.diff
Feb 24 2026, 9:35 PM
F19776326: D19968.id.diff
Feb 22 2026, 2:45 PM
F19519455: D19968.id47664.diff
Jan 16 2026, 5:24 AM
F19514813: D19968.id47664.diff
Jan 14 2026, 5:22 AM
F19370891: D19968.id47664.diff
Dec 26 2025, 3:53 PM
F19313995: D19968.diff
Dec 25 2025, 2:00 AM
Subscribers
None

Details

Summary

Fixes T12921. Currently, we call getTitleForHTMLMail(), but that calls getTitleForMail() which forces us into text rendering mode.

Instead, have getTitleForHTML/TextMail() force the rendering mode, then call getTitleForMail() with the desired rendering mode.

This causes stories like "epriestely added dependent tasks: x, y." to appear as links in email instead of plain text.

Test Plan

Used bin/mail show-outbound --id ... --dump-html > out.html to verify HTML mail.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Slightly simpler implementation.
This revision is now accepted and ready to land.Jan 16 2019, 2:10 AM
This revision was automatically updated to reflect the committed changes.