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

at recaptime-dev/main 36 lines 686 B view raw
1<?php 2 3abstract class PhutilRemarkupBlockInterpreter extends Phobject { 4 5 private $engine; 6 7 final public function setEngine($engine) { 8 $this->engine = $engine; 9 return $this; 10 } 11 12 final public function getEngine() { 13 return $this->engine; 14 } 15 16 /** 17 * @return string 18 */ 19 abstract public function getInterpreterName(); 20 21 abstract public function markupContent($content, array $argv); 22 23 protected function markupError($string) { 24 if ($this->getEngine()->isTextMode()) { 25 return '('.$string.')'; 26 } else { 27 return phutil_tag( 28 'div', 29 array( 30 'class' => 'remarkup-interpreter-error', 31 ), 32 $string); 33 } 34 } 35 36}