Link "DNNNN" and "TNNNN" in Phabricator remarkup.
Summary: Autolink Differential and Maniphest objects. Test Plan: Typed "D12345" and "T12345" into the Differential comment preview, got links. Typed "http://www.elsewhere.com/D12345" and got a single link to that URI, not a mess where the D12345 part linked incorrectly. Reviewers: aran CC: Differential Revision: 35
This commit is contained in:
@@ -24,6 +24,10 @@ class DifferentialMarkupEngineFactory {
|
||||
$rules = array();
|
||||
$rules[] = new PhutilRemarkupRuleEscapeRemarkup();
|
||||
$rules[] = new PhutilRemarkupRuleHyperlink();
|
||||
|
||||
$rules[] = new PhabricatorRemarkupRuleDifferential();
|
||||
$rules[] = new PhabricatorRemarkupRuleManiphest();
|
||||
|
||||
$rules[] = new PhutilRemarkupRuleEscapeHTML();
|
||||
$rules[] = new PhutilRemarkupRuleMonospace();
|
||||
$rules[] = new PhutilRemarkupRuleBold();
|
||||
|
||||
Reference in New Issue
Block a user