1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 21:19:21 +01:00
phorge-phorge/src/infrastructure/markup/rule
epriestley 3bea0958dd Always link to "#5" (not "#comment-5") for "T123#5"
Summary:
Fixes T3976. Long ago, some applications used "#comment-5" instead of "#5" for transaction/comment anchors. Now everything (I think?) uses "#5"; this is the style used by ApplicationTransactions.

This might break some very old, explcit `T123#comment-5` links, or off-site links to the `comment-N` anchors, but all that stuff generally got renumbered when we migrated anyway and getting you to the right object is like 95% of the job.

Test Plan: Verified that `T123#5` now links to `#5`.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3976

Differential Revision: https://secure.phabricator.com/D8542
2014-03-14 14:50:40 -07:00
..
PhabricatorRemarkupCustomBlockRule.php Make remarkup rules runtime-pluggable in a reasonable way 2013-10-24 17:26:07 -07:00
PhabricatorRemarkupCustomInlineRule.php Make remarkup rules runtime-pluggable in a reasonable way 2013-10-24 17:26:07 -07:00
PhabricatorRemarkupRuleObject.php Always link to "#5" (not "#comment-5") for "T123#5" 2014-03-14 14:50:40 -07:00
PhabricatorRemarkupRuleYoutube.php Replace some hsprintf() with phutil_tag() and phutil_tag_div() Depends on D7545. 2013-11-09 10:48:19 -08:00