Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14033689
D9831.id23593.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
689 B
Referenced Files
None
Subscribers
None
D9831.id23593.diff
View Options
diff --git a/src/applications/project/remarkup/ProjectRemarkupRule.php b/src/applications/project/remarkup/ProjectRemarkupRule.php
--- a/src/applications/project/remarkup/ProjectRemarkupRule.php
+++ b/src/applications/project/remarkup/ProjectRemarkupRule.php
@@ -7,6 +7,14 @@
return '#';
}
+ protected function renderObjectRef($object, $handle, $anchor, $id) {
+ if ($this->getEngine()->isTextMode()) {
+ return '#'.$id;
+ }
+
+ return $handle->renderTag();
+ }
+
protected function getObjectIDPattern() {
// NOTE: This explicitly does not match strings which contain only
// digits, because digit strings like "#123" are used to reference tasks at
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 10, 7:17 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718060
Default Alt Text
D9831.id23593.diff (689 B)
Attached To
Mode
D9831: Render hashtags as colored/icon'd project tags
Attached
Detach File
Event Timeline
Log In to Comment