Page MenuHomePhorge

D25234.1739901412.diff
No OneTemporary

D25234.1739901412.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
Tue, Feb 18, 17:56 (3 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1134332
Default Alt Text
D25234.1739901412.diff (693 B)

Event Timeline