Révision 7547bb19
Ajouté par Assos Assos il y a environ 7 ans
drupal7/sites/all/themes/bootstrap/templates/system/item-list.func.php | ||
---|---|---|
47 | 47 |
if (is_string($title)) { |
48 | 48 |
$title = array( |
49 | 49 |
'text' => $title, |
50 |
'html' => TRUE, |
|
50 | 51 |
); |
51 | 52 |
} |
52 | 53 |
// Set defaults. |
... | ... | |
57 | 58 |
// Heading outputs only when it has text. |
58 | 59 |
if (!empty($title['text'])) { |
59 | 60 |
$heading .= '<' . $title['level'] . drupal_attributes($title['attributes']) . '>'; |
60 |
$heading .= empty($title['html']) ? check_plain($title['text']) : _bootstrap_filter_xss($title['text']);
|
|
61 |
$heading .= empty($title['html']) ? check_plain($title['text']) : $title['text'];
|
|
61 | 62 |
$heading .= '</' . $title['level'] . '>'; |
62 | 63 |
} |
63 | 64 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules