_field_filter_xss_allowed_tags

  1. drupal
    1. drupal7
Versionen
drupal7 _field_filter_xss_allowed_tags()

List of tags allowed by field_filter_xss().

Verwandte Themen

▾ 2 functions call _field_filter_xss_allowed_tags()

field_filter_xss in modules/field/field.module
Like filter_xss_admin(), but with a shorter list of allowed tags.
_field_filter_xss_display_allowed_tags in modules/field/field.module
Human-readable list of allowed tags, for display in help texts.

Code

modules/field/field.module, line 354

<?php
function _field_filter_xss_allowed_tags() {
  return array('a', 'b', 'big',  'code', 'del', 'em', 'i', 'ins',  'pre', 'q', 'small', 'span', 'strong', 'sub', 'sup', 'tt', 'ol', 'ul', 'li', 'p', 'br', 'img');
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen