Homec4science

Fix parsing of anchors in Phriction document link syntax

Authored by epriestley <git@epriestley.com> on Jun 8 2016, 22:09.

Description

Fix parsing of anchors in Phriction document link syntax

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 ]]

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4280

Differential Revision: https://secure.phabricator.com/D16083

Details

Committed
epriestley <git@epriestley.com>Jun 8 2016, 22:14
Pushed
aubortJan 31 2017, 17:16
Parents
rPH78fab485b4bb: Break-word on all propertly list values
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH72d554aa9b67: Fix parsing of anchors in Phriction document link syntax (authored by epriestley <git@epriestley.com>).Jun 8 2016, 22:14