diff --git a/src/applications/policy/filter/PhabricatorPolicyFilter.php b/src/applications/policy/filter/PhabricatorPolicyFilter.php index 3443d17156..e7e8c86ee7 100644 --- a/src/applications/policy/filter/PhabricatorPolicyFilter.php +++ b/src/applications/policy/filter/PhabricatorPolicyFilter.php @@ -699,7 +699,7 @@ final class PhabricatorPolicyFilter extends Phobject { $text_details = array_filter(array_merge($head, $exceptions)); $text_details = implode(' ', $text_details); - $html_details = array($head, $more, $exceptions); + $html_details = array($head, $more, phutil_implode_html(' ', $exceptions)); $access_denied = $this->renderAccessDenied($object);