Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14351629
D15153.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1008 B
Referenced Files
None
Subscribers
None
D15153.diff
View Options
diff --git a/src/applications/people/customfield/PhabricatorUserBlurbField.php b/src/applications/people/customfield/PhabricatorUserBlurbField.php
--- a/src/applications/people/customfield/PhabricatorUserBlurbField.php
+++ b/src/applications/people/customfield/PhabricatorUserBlurbField.php
@@ -58,6 +58,13 @@
->setLabel($this->getFieldName());
}
+ public function getApplicationTransactionRemarkupBlocks(
+ PhabricatorApplicationTransaction $xaction) {
+ return array(
+ $xaction->getNewValue(),
+ );
+ }
+
public function renderPropertyViewLabel() {
return null;
}
@@ -67,10 +74,11 @@
if (!strlen($blurb)) {
return null;
}
- return PhabricatorMarkupEngine::renderOneObject(
- id(new PhabricatorMarkupOneOff())->setContent($blurb),
- 'default',
- $this->getViewer());
+
+ $viewer = $this->getViewer();
+ $view = new PHUIRemarkupView($viewer, $blurb);
+
+ return $view;
}
public function getStyleForPropertyView() {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 8:48 AM (21 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6910031
Default Alt Text
D15153.diff (1008 B)
Attached To
Mode
D15153: Fix object extraction from user profile blurbs
Attached
Detach File
Event Timeline
Log In to Comment