diff --git a/src/applications/conduit/controller/PhabricatorConduitAPIController.php b/src/applications/conduit/controller/PhabricatorConduitAPIController.php index 1cae2c40b7..b31ae55f2a 100644 --- a/src/applications/conduit/controller/PhabricatorConduitAPIController.php +++ b/src/applications/conduit/controller/PhabricatorConduitAPIController.php @@ -396,12 +396,9 @@ final class PhabricatorConduitAPIController $json = new PhutilJSON(); if (is_array($value)) { $value = $json->encodeFormatted($value); - $value = phutil_escape_html($value); - } else { - $value = phutil_escape_html($value); } - $value = '
'.$value.''; + $value = hsprintf('
%s', $value); return $value; } diff --git a/src/applications/conduit/controller/PhabricatorConduitConsoleController.php b/src/applications/conduit/controller/PhabricatorConduitConsoleController.php index 3d0f2c41a0..5020173b88 100644 --- a/src/applications/conduit/controller/PhabricatorConduitConsoleController.php +++ b/src/applications/conduit/controller/PhabricatorConduitConsoleController.php @@ -58,11 +58,10 @@ final class PhabricatorConduitConsoleController if ($error_types) { $error_description[] = '
Copy and paste this token into '. 'the prompt given to you by "arc install-certificate":
'. ''. - ''.phutil_escape_html($token->getToken()).''. + '%s'. '
'. 'arc will then complete the '. - 'install process for you.
'); + 'install process for you.', + $token->getToken())); $this->setShowSideNav(false);