@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Render hashtags as colored/icon'd project tags

Summary: In most cases we preserve what the user typed, but showing colors/icons/names is more useful than `#yolo` (and makes aliases more usable without loss of meaning).

Test Plan: {F174510}

Reviewers: chad

Reviewed By: chad

Subscribers: epriestley

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

+8
+8
src/applications/project/remarkup/ProjectRemarkupRule.php
··· 7 7 return '#'; 8 8 } 9 9 10 + protected function renderObjectRef($object, $handle, $anchor, $id) { 11 + if ($this->getEngine()->isTextMode()) { 12 + return '#'.$id; 13 + } 14 + 15 + return $handle->renderTag(); 16 + } 17 + 10 18 protected function getObjectIDPattern() { 11 19 // NOTE: This explicitly does not match strings which contain only 12 20 // digits, because digit strings like "#123" are used to reference tasks at