Page MenuHomePhabricator

Add addLinkSection to MailBody to properly format URIs
ClosedPublic

Authored by chad on Oct 30 2014, 5:33 PM.
Tags
None
Referenced Files
F14010408: D10762.id25830.diff
Thu, Oct 31, 7:27 AM
F14010407: D10762.id25839.diff
Thu, Oct 31, 7:26 AM
F14010406: D10762.id.diff
Thu, Oct 31, 7:26 AM
F14010347: D10762.diff
Thu, Oct 31, 7:12 AM
F13978057: D10762.id.diff
Oct 18 2024, 9:19 PM
F13975432: D10762.id25839.diff
Oct 18 2024, 10:06 AM
Unknown Object (File)
Oct 13 2024, 3:18 AM
Unknown Object (File)
Sep 23 2024, 10:45 AM
Tokens
"Like" token, awarded by hashar.

Details

Summary

Fixes T6343. Grepped for all callsites and added addLinkSection where needed.

Test Plan

Tested Differential, Maniphest, Conpherence, Ponder and Macro. Inspect HTML mail for anchor tags. Inspect text mails for non-disruption.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Add addLinkSection to MailBody to properly format URIs.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added reviewers: epriestley, btrahan.
src/applications/metamta/view/PhabricatorMetaMTAMailBody.php
89

should I wrap this in another div?

btrahan edited edge metadata.

Nice!

src/applications/metamta/view/PhabricatorMetaMTAMailBody.php
89

idk... want to give something like this a whirl?

https://litmus.com/email-testing

theoretically each and every html email client may render it differently. I also feel fine just letting users report rendering issues as they come up.

107–109

this site will need updating too

This revision is now accepted and ready to land.Oct 30 2014, 5:50 PM

Looks good, although it won't fix inline links (in comments and such)

Tried Litmus, things looked good. It might be worth signing up.

This revision was automatically updated to reflect the committed changes.