Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
@scalas89, that is not recommended for general use.
Applies a very permissive XSS/HTML filter for admin-only use.
Use only for fields where it is impractical to use the whole filter system...
I don't think there is a case where there is some kind of html for a tab that would need to be outside of the normal filtering. It may also be considered "insecure" as things like iframe are allowed.
Comments
Comment #2
scalas89 commentedComment #3
scalas89 commentedComment #4
shelanePlease use this instead: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Util...
Comment #5
scalas89 commentedThank you @shelane.
What do you think about this?https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Util...
Comment #6
shelane@scalas89, that is not recommended for general use.
I don't think there is a case where there is some kind of html for a tab that would need to be outside of the normal filtering. It may also be considered "insecure" as things like
iframeare allowed.Comment #8
g089h515r806 commented