Page MenuHomePhabricator

D8140.id18416.diff
No OneTemporary

D8140.id18416.diff

diff --git a/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php b/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
--- a/src/applications/tokens/feed/PhabricatorTokenGivenFeedStory.php
+++ b/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())));
}
}
diff --git a/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php b/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
--- a/src/applications/transactions/feed/PhabricatorApplicationTransactionFeedStory.php
+++ b/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
Sat, Oct 25, 3:30 AM (1 d, 9 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
11455715
Default Alt Text
D8140.id18416.diff (1 KB)

Event Timeline