HomePhabricator

Fix parsing of anchors in Phriction document link syntax

Tags
None
Referenced Files
None
Subscribers
None
Tokens
"Like" token, awarded by bjshively.

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, 8:09 PM
epriestleyPushed on Jun 8 2016, 8:14 PM
Reviewer
chad
Differential Revision
D16083: Fix parsing of anchors in Phriction document link syntax
Parents
rP78fab485b4bb: Break-word on all propertly list values
Branches
Unknown
Tags
Unknown
Tasks
T4280: Embed anchor in remark up text and later link to it.
Build Status
Buildable 12569
Build 15949: Run Core Tests