Page MenuHomePhabricator

D9831.id23593.diff
No OneTemporary

D9831.id23593.diff

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

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)

Event Timeline