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)
Sun, Feb 9, 5:18 AM
Unknown Object (File)
Sun, Feb 9, 5:18 AM
Unknown Object (File)
Sun, Feb 9, 5:18 AM
Unknown Object (File)
Sun, Feb 9, 5:18 AM
Unknown Object (File)
Tue, Jan 28, 3:16 AM
Unknown Object (File)
Fri, Jan 24, 11:50 PM
Unknown Object (File)
Fri, Jan 24, 11:49 PM
Unknown Object (File)
Fri, Jan 24, 11:49 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.