From 1190e0516fd4ed72fd3a9341292eb60905bf4339 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 9 Feb 2013 08:43:37 -0800 Subject: [PATCH] Fix double escaping on PhabricatorFileLinkListView Summary: Fallout from D4822. Test Plan: {F32108} Reviewers: chad, btrahan, vrana Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D4879 --- src/view/layout/PhabricatorFileLinkListView.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/view/layout/PhabricatorFileLinkListView.php b/src/view/layout/PhabricatorFileLinkListView.php index 27b5201c2a..8ba21fc68c 100644 --- a/src/view/layout/PhabricatorFileLinkListView.php +++ b/src/view/layout/PhabricatorFileLinkListView.php @@ -31,7 +31,10 @@ final class PhabricatorFileLinkListView extends AphrontView { $file_links[] = $view->render(); } - return implode('
', $file_links); + return $this->renderHTMLView( + array_interleave( + phutil_tag('br'), + $file_links)); } }