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.
Problem/Motivation
public static function isSimple($string, $length = 250, $allowed_tags = NULL, &$html = FALSE) {
...
if (!isset($strings[$string_clone])) {
$plain_string = strip_tags($string_clone);
$simple = TRUE;
if ($allowed_tags !== FALSE) {
$filtered_string = Xss::filter($string_clone, $allowed_tags);
$html = $filtered_string !== $plain_string;
...
}
...
}
...
}
So if isset($strings[$string_clone])
$html
will not get a correct value.
Issue fork bootstrap-3204356
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
super_romeo CreditAttribution: super_romeo as a volunteer commentedComment #3
shelane