Convert AphrontFormControl to safe HTML
Summary: Everything here now should properly handle plain strings and safe HTML. Test Plan: /settings/panel/display/ Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2432 Differential Revision: https://secure.phabricator.com/D4826
This commit is contained in:
@@ -164,10 +164,9 @@ final class PhabricatorPasteEditController extends PhabricatorPasteController {
|
||||
->appendChild(
|
||||
id(new AphrontFormMarkupControl())
|
||||
->setLabel('Text')
|
||||
->setValue(
|
||||
'Paste text can not be edited. '.
|
||||
$fork_link.' to create a new paste.'
|
||||
));
|
||||
->setValue(hsprintf(
|
||||
'Paste text can not be edited. %s to create a new paste.',
|
||||
$fork_link)));
|
||||
}
|
||||
|
||||
$submit = new AphrontFormSubmitControl();
|
||||
|
||||
Reference in New Issue
Block a user