Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14006350
D10139.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
699 B
Referenced Files
None
Subscribers
None
D10139.diff
View Options
diff --git a/src/applications/maniphest/storage/ManiphestTransaction.php b/src/applications/maniphest/storage/ManiphestTransaction.php
--- a/src/applications/maniphest/storage/ManiphestTransaction.php
+++ b/src/applications/maniphest/storage/ManiphestTransaction.php
@@ -43,6 +43,18 @@
return parent::shouldGenerateOldValue();
}
+ public function getRemarkupBlocks() {
+ $blocks = parent::getRemarkupBlocks();
+
+ switch ($this->getTransactionType()) {
+ case self::TYPE_DESCRIPTION:
+ $blocks[] = $this->getNewValue();
+ break;
+ }
+
+ return $blocks;
+ }
+
public function getRequiredHandlePHIDs() {
$phids = parent::getRequiredHandlePHIDs();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 29, 7:06 AM (3 w, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6752670
Default Alt Text
D10139.diff (699 B)
Attached To
Mode
D10139: Recognize Maniphest task description as a remarkup block
Attached
Detach File
Event Timeline
Log In to Comment