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
F13274868: D16083.diff
Fri, May 31, 4:09 AM
F13264029: D16083.id.diff
Mon, May 27, 1:52 PM
F13237903: D16083.id38697.diff
Tue, May 21, 3:49 PM
F13234698: D16083.diff
Tue, May 21, 3:39 AM
F13189938: D16083.diff
Sat, May 11, 6:36 AM
F13183722: D16083.diff
Fri, May 10, 11:31 AM
Unknown Object (File)
Tue, May 7, 10:19 AM
Unknown Object (File)
Sun, May 5, 9:14 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
Branch
anchor1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12568
Build 15948: Run Core Tests
Build 15947: arc lint + arc unit

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.