Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15403487
D15311.id36934.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15311.id36934.diff
View Options
diff --git a/src/applications/macro/application/PhabricatorMacroApplication.php b/src/applications/macro/application/PhabricatorMacroApplication.php
--- a/src/applications/macro/application/PhabricatorMacroApplication.php
+++ b/src/applications/macro/application/PhabricatorMacroApplication.php
@@ -42,13 +42,6 @@
);
}
- public function getRemarkupRules() {
- return array(
- new PhabricatorIconRemarkupRule(),
- new PhabricatorEmojiRemarkupRule(),
- );
- }
-
protected function getCustomCapabilities() {
return array(
PhabricatorMacroManageCapability::CAPABILITY => array(
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
@@ -492,6 +492,9 @@
$rules[] = new PhabricatorYoutubeRemarkupRule();
}
+ $rules[] = new PhabricatorIconRemarkupRule();
+ $rules[] = new PhabricatorEmojiRemarkupRule();
+
$applications = PhabricatorApplication::getAllInstalledApplications();
foreach ($applications as $application) {
foreach ($application->getRemarkupRules() as $rule) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 3:34 AM (2 d, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7226086
Default Alt Text
D15311.id36934.diff (1 KB)
Attached To
Mode
D15311: Always install the "icon" and "emoji" remarkup rules
Attached
Detach File
Event Timeline
Log In to Comment