HomePhorge

Fix parsing of anchors in Phriction document link syntax

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

Provenance
epriestleyAuthored on Jun 8 2016, 1:09 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP78fab485b4bb: Break-word on all propertly list values
Branches
Unknown
Tags
Unknown

Event Timeline