Skip to content
Snippets Groups Projects
Commit 3dd38370 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 6588593a
No related branches found
No related tags found
No related merge requests found
......@@ -313,8 +313,7 @@ public static function addResultForm(array &$form, array $results) {
$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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment