Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Line 674 of zen/template.php causes backslashes to be printed to the actual HTML. There's really no need for the backslashes in the first section of the string
if (count($messages) > 1) {
$output .= " <ul class=\"messages__list\">\n";
foreach ($messages as $message) {
// Removed the backlashes in this line here:
$output .= ' <li class="messages__item">' . $message . "</li>\n";
}
$output .= " </ul>\n";
}
Comments
Comment #1
akosipax CreditAttribution: akosipax commentedComment #2
echoz CreditAttribution: echoz commentedDuplicate of #2198637: li.messages__item class improperly escaped