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
F13992263: D16083.id38696.diff
Tue, Oct 22, 3:31 PM
F13990673: D16083.diff
Tue, Oct 22, 5:24 AM
F13979110: D16083.id38697.diff
Sat, Oct 19, 2:44 AM
F13970176: D16083.diff
Thu, Oct 17, 6:09 AM
F13970173: D16083.id.diff
Thu, Oct 17, 6:06 AM
F13970169: D16083.id38696.diff
Thu, Oct 17, 6:05 AM
F13970167: D16083.id38697.diff
Thu, Oct 17, 6:04 AM
Unknown Object (File)
Sun, Oct 13, 2:46 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.