Homec4science

make remarkup savvier about fragments in phriction links

Authored by Bob Trahan <bob.trahan@gmail.com> on Nov 6 2012, 00:47.

Description

make remarkup savvier about fragments in phriction links

Summary:
use PhutilURI class to get the slug and the fragment, normalize the slug, and then glue it back together with another PhutilURI

fixes https://github.com/facebook/phabricator/issues/228

Test Plan: had a few links like wiki fun and verified links generated were correct

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

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

Details

Committed
Bob Trahan <bob.trahan@gmail.com>Nov 6 2012, 00:47
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc6503f019fd2: Start Ponder questions from 11
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <bob.trahan@gmail.com> committed rPH5b1d73e5ddaa: make remarkup savvier about fragments in phriction links (authored by Bob Trahan <bob.trahan@gmail.com>).Nov 6 2012, 00:47