Page MenuHomePhorge

D25234.1744997949.diff
No OneTemporary

D25234.1744997949.diff

diff --git a/src/infrastructure/markup/blockrule/PhutilRemarkupInterpreterBlockRule.php b/src/infrastructure/markup/blockrule/PhutilRemarkupInterpreterBlockRule.php
--- a/src/infrastructure/markup/blockrule/PhutilRemarkupInterpreterBlockRule.php
+++ b/src/infrastructure/markup/blockrule/PhutilRemarkupInterpreterBlockRule.php
@@ -2,7 +2,7 @@
final class PhutilRemarkupInterpreterBlockRule extends PhutilRemarkupBlockRule {
- const START_BLOCK_PATTERN = '/^([\w]+)\s*(?:\(([^)]+)\)\s*)?{{{/';
+ const START_BLOCK_PATTERN = '/^((cowsay)|(figlet))\s*(?:\(([^)]+)\)\s*)?{{{/';
const END_BLOCK_PATTERN = '/}}}\s*$/';
public function getMatchingLineCount(array $lines, $cursor) {

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 18, 17:39 (4 d, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1134332
Default Alt Text
D25234.1744997949.diff (693 B)

Event Timeline