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
F14385810: D19968.id47664.diff
Sat, Dec 21, 12:38 PM
Unknown Object (File)
Sun, Dec 15, 12:43 AM
Unknown Object (File)
Sat, Dec 14, 4:34 AM
Unknown Object (File)
Sat, Dec 7, 9:03 PM
Unknown Object (File)
Wed, Nov 27, 11:13 PM
Unknown Object (File)
Nov 14 2024, 4:53 AM
Unknown Object (File)
Nov 12 2024, 9:55 AM
Unknown Object (File)
Nov 6 2024, 3:47 PM
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
Branch
mfa12
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21516
Build 29315: Run Core Tests
Build 29314: arc lint + arc unit

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.