Page MenuHomePhabricator

D8140.diff
No OneTemporary

D8140.diff

Index: src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
===================================================================
--- src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
+++ src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
@@ -44,7 +44,11 @@
public function renderText() {
// TODO: This is grotesque; the feed notification handler relies on it.
- return strip_tags(hsprintf('%s', $this->renderView()->render()));
+ return htmlspecialchars_decode(
+ strip_tags(
+ hsprintf(
+ '%s',
+ $this->renderView()->render())));
}
}
Index: src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
===================================================================
--- src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
+++ src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
@@ -66,7 +66,11 @@
public function renderText() {
// TODO: This is grotesque; the feed notification handler relies on it.
- return strip_tags(hsprintf('%s', $this->renderView()->render()));
+ return htmlspecialchars_decode(
+ strip_tags(
+ hsprintf(
+ '%s',
+ $this->renderView()->render())));
}
}

File Metadata

Mime Type
text/plain
Expires
Wed, Mar 26, 12:27 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7717202
Default Alt Text
D8140.diff (1 KB)

Event Timeline