Page MenuHomePhabricator

Fix parsing of anchors in Phriction document link syntax
ClosedPublic

Authored by epriestley on Jun 8 2016, 8:13 PM.
Tags
None
Referenced Files
F15560432: D16083.id.diff
Tue, Apr 29, 2:34 PM
F15558573: D16083.id38697.diff
Tue, Apr 29, 3:55 AM
F15555676: D16083.diff
Mon, Apr 28, 12:35 PM
F15514919: D16083.diff
Fri, Apr 18, 6:39 AM
F15485514: D16083.diff
Thu, Apr 10, 12:17 AM
F15439989: D16083.diff
Mar 26 2025, 10:39 AM
F15431946: D16083.id.diff
Mar 24 2025, 3:27 PM
F15430472: D16083.id38697.diff
Mar 24 2025, 7:50 AM
Subscribers
None

Details

Summary

Ref T4280. At some point (probably D15732) we started getting anchor parsing wrong. Just pop the anchor off before doing all the logic, then put it back on at the end.

Test Plan

Tested various forms like:

[[ x ]]
[[ x | z ]]
[[ x#y | z ]]
[[ ./x#y | z ]]

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix parsing of anchors in Phriction document link syntax.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 8 2016, 8:13 PM
This revision was automatically updated to reflect the committed changes.