Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15454557
D15848.id38176.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
585 B
Referenced Files
None
Subscribers
None
D15848.id38176.diff
View Options
diff --git a/src/infrastructure/markup/PhabricatorMarkupEngine.php b/src/infrastructure/markup/PhabricatorMarkupEngine.php
--- a/src/infrastructure/markup/PhabricatorMarkupEngine.php
+++ b/src/infrastructure/markup/PhabricatorMarkupEngine.php
@@ -480,6 +480,10 @@
'syntax-highlighter.engine',
$options['syntax-highlighter.engine']);
+ $style_map = id(new PhabricatorDefaultSyntaxStyle())
+ ->getStyleMap();
+ $engine->setConfig('phutil.codeblock.style-map', $style_map);
+
$engine->setConfig('uri.full', $options['uri.full']);
$rules = array();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 30, 7:03 PM (4 d, 22 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704773
Default Alt Text
D15848.id38176.diff (585 B)
Attached To
Mode
D15848: Pass the new default syntax highlighting map to the remarkup engine
Attached
Detach File
Event Timeline
Log In to Comment