Page MenuHomePhorge

D25234.1737328802.diff
No OneTemporary

D25234.1737328802.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
Sun, Jan 19, 23:20 (20 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1134332
Default Alt Text
D25234.1737328802.diff (693 B)

Event Timeline