mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 06:50:55 +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:
parent
4a77906141
commit
7a9be605ae
1 changed files with 2 additions and 2 deletions
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue