Issue #2501749 by joelpittet: Remove SafeMarkup::set in SimpletestResultsForm.php

8.0.x
Alex Pott 2015-06-12 14:08:45 +01:00
parent 6588593aea
commit 3dd383704d
1 changed files with 1 additions and 2 deletions

View File

@ -313,8 +313,7 @@ class SimpletestResultsForm extends FormBase {
$rows = array();
foreach ($assertions as $assertion) {
$row = array();
// Assertion messages are in code, so we assume they are safe.
$row[] = SafeMarkup::set($assertion->message);
$row[] = SafeMarkup::checkAdminXss($assertion->message);
$row[] = $assertion->message_group;
$row[] = \Drupal::service('file_system')->basename(($assertion->file));
$row[] = $assertion->line;