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
F18065318: D16083.diff
Mon, Aug 4, 2:05 PM
F17942847: D16083.diff
Thu, Jul 31, 7:14 AM
F17939647: D16083.id38696.diff
Thu, Jul 31, 3:16 AM
Unknown Object (File)
May 31 2025, 2:15 PM
Unknown Object (File)
May 30 2025, 12:10 PM
Unknown Object (File)
May 27 2025, 11:14 AM
Unknown Object (File)
May 9 2025, 12:09 PM
Unknown Object (File)
Apr 29 2025, 2:34 PM
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.