Skip to content
Permalink
Browse files

Fix #1639 - don’t escape unnecessary characters

  • Loading branch information...
muglug committed May 15, 2019
1 parent cfff66e commit 02498a3d74d9ee5a772f8c8ed3aa2700d347ff61
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Psalm/Output/Checkstyle.php
@@ -22,13 +22,13 @@ public function create(): string
$issue_data['message']
);
$output .= '<file name="' . htmlentities($issue_data['file_name']) . '">' . "\n";
$output .= '<file name="' . htmlspecialchars($issue_data['file_name']) . '">' . "\n";
$output .= ' ';
$output .= '<error';
$output .= ' line="' . $issue_data['line_from'] . '"';
$output .= ' column="' . $issue_data['column_from'] . '"';
$output .= ' severity="' . $issue_data['severity'] . '"';
$output .= ' message="' . htmlentities($message) . '"';
$output .= ' message="' . htmlspecialchars($message) . '"';
$output .= '/>' . "\n";
$output .= '</file>' . "\n";
}

0 comments on commit 02498a3

Please sign in to comment.
You can’t perform that action at this time.