Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2903228
D25234.1737328802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
693 B
Referenced Files
None
Subscribers
None
D25234.1737328802.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D25234: Fix exception and error message rendering some markup matching figlet/cowsay regex
Attached
Detach File
Event Timeline
Log In to Comment