Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15387498
D10212.id.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
D10212.id.diff
View Options
diff --git a/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php b/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php
--- a/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php
+++ b/src/infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php
@@ -9,7 +9,7 @@
abstract protected function loadObjects(array $ids);
public function getPriority() {
- return 200.0;
+ return 450.0;
}
protected function getObjectNamePrefixBeginsWithWordCharacter() {
@@ -116,13 +116,11 @@
}
// NOTE: The "(?<!#)" prevents us from linking "#abcdef" or similar.
- // The "(?<!/)" prevents us from linking things in URIs.
- // The "(?<!;)" prevents linking Diffusion URIs to commits.
// The "\b" allows us to link "(abcdef)" or similar without linking things
// in the middle of words.
$text = preg_replace_callback(
- '((?<!#)(?<!/)(?<!;)'.$boundary.$prefix.'('.$id.')(?:#([-\w\d]+))?\b)',
+ '((?<!#)'.$boundary.$prefix.'('.$id.')(?:#([-\w\d]+))?\b)',
array($this, 'markupObjectReference'),
$text);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 16 2025, 2:30 AM (5 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705215
Default Alt Text
D10212.id.diff (1 KB)
Attached To
Mode
D10212: Move object monogram rules later in the parse order
Attached
Detach File
Event Timeline
Log In to Comment