Page MenuHomePhabricator

Render object remarkup references in a text context as "Dxxx <uri>"
ClosedPublic

Authored by epriestley on Feb 8 2018, 5:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 1, 2:54 PM
Unknown Object (File)
Wed, Jan 1, 2:54 PM
Unknown Object (File)
Wed, Jan 1, 2:54 PM
Unknown Object (File)
Mon, Dec 30, 10:18 PM
Unknown Object (File)
Sat, Dec 21, 10:47 PM
Unknown Object (File)
Sat, Dec 21, 10:47 PM
Unknown Object (File)
Sat, Dec 21, 10:46 PM
Unknown Object (File)
Sat, Dec 21, 10:46 PM
Subscribers
None

Details

Summary

Depends on D19031. Fixes T11389. Currently, we render Dxxx in a text context (plain text email) as just a URI.

Instead, render it like Dxxx <uri>. This is more faithful to the original intent and preserves T123/T456 as two separate, usable links.

Test Plan

Wrote T123/T234 in a task, pulled mail for it with bin/mail show-outbound, saw separate clickable links.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 8 2018, 5:52 PM
This revision was automatically updated to reflect the committed changes.