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

Use Remarkup document link

vrana 523cba5d 3fcb94a4

+3 -1
+2
src/infrastructure/markup/PhabricatorMarkupEngine.php
··· 383 383 } 384 384 } 385 385 386 + $rules[] = new PhutilRemarkupRuleDocumentLink(); 387 + 386 388 if ($options['fileproxy']) { 387 389 $rules[] = new PhabricatorRemarkupRuleProxyImage(); 388 390 }
+1 -1
src/infrastructure/markup/rule/PhabricatorRemarkupRuleProxyImage.php
··· 24 24 25 25 public function apply($text) { 26 26 27 - $filetypes = '(?:\.jpe?g|.png|.gif)'; 27 + $filetypes = '\.(?:jpe?g|png|gif)'; 28 28 29 29 $text = preg_replace_callback( 30 30 '@[<](\w{3,}://.+?'.$filetypes.')[>]@',