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
Fri, Jan 24, 3:27 PM (19 h, 35 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7041192
Default Alt Text
D9831.id23593.diff (689 B)

Event Timeline