diff --git a/core/lib/Drupal/Core/Template/Attribute.php b/core/lib/Drupal/Core/Template/Attribute.php index 1951d57..ad4e1b1 100644 --- a/core/lib/Drupal/Core/Template/Attribute.php +++ b/core/lib/Drupal/Core/Template/Attribute.php @@ -40,7 +40,7 @@ * @endcode * * The attribute keys and values are automatically sanitized for output with - * \Drupal\Component\Utility\SafeMarkup::checkPlain(). + * htmlspecialchars() and the entire attribute string is marked safe for output. */ class Attribute implements \ArrayAccess, \IteratorAggregate {