Skip to content
Snippets Groups Projects
Commit eacfd458 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Forgot a tag.
parent 70c21f7e
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -391,7 +391,7 @@ function check_output($text, $nl2br = 0) {
if ($text) {
$text = stripslashes($text);
if (strip_tags($text, "<a><i><b><u><tt><code><cite><strong>") == $text) {
if (strip_tags($text, "<a><i><b><u><tt><code><cite><strong><img>") == $text) {
$text = nl2br($text);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment