1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-25 15:00:58 +01:00

Avoid double escaping in render()

Test Plan: View any comment

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1296
This commit is contained in:
vrana 2012-01-03 16:25:35 -08:00
parent 4a77906141
commit 7a9be605ae

View file

@ -1,7 +1,7 @@
<?php <?php
/* /*
* Copyright 2011 Facebook, Inc. * Copyright 2012 Facebook, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -86,7 +86,7 @@ final class DifferentialRevisionCommentView extends AphrontView {
$action = $comment->getAction(); $action = $comment->getAction();
$action_class = 'differential-comment-action-'.phutil_escape_html($action); $action_class = 'differential-comment-action-'.$action;
if ($this->preview) { if ($this->preview) {
$date = 'COMMENT PREVIEW'; $date = 'COMMENT PREVIEW';