@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.

Disallow "{", "}" and "#" in Project monograms

Summary: Currently, mentioning two projects in a block (`{#a} {#b}`) produces an overzealous parse. Forbid these characters in project monograms.

Test Plan: Got correct markup.

Reviewers: btrahan, dctrwatson, chad

Reviewed By: chad

CC: aran

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

+1 -1
+1 -1
src/applications/project/phid/PhabricatorProjectPHIDTypeProject.php
··· 45 45 // NOTE: This explicitly does not match strings which contain only 46 46 // digits, because digit strings like "#123" are used to reference tasks at 47 47 // Facebook and are somewhat conventional in general. 48 - return '[^\s.!,:;]*[^\s\d.!,:;]+[^\s.!,:;]*'; 48 + return '[^\s.!,:;{}#]*[^\s\d.!,:;{}#]+[^\s.!,:;{}#]*'; 49 49 } 50 50 51 51 public function canLoadNamedObject($name) {