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

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

super_romeo created an issue. See original summary.

super_romeo’s picture

Issue summary: View changes
shelane’s picture

Assigned: Unassigned » shelane

shivamsen_12579 made their first commit to this issue’s fork.