diff --git a/core/lib/Drupal/Component/Utility/SafeMarkup.php b/core/lib/Drupal/Component/Utility/SafeMarkup.php index e69299f64d..5e6b054ac4 100644 --- a/core/lib/Drupal/Component/Utility/SafeMarkup.php +++ b/core/lib/Drupal/Component/Utility/SafeMarkup.php @@ -10,7 +10,7 @@ * Contains deprecated functionality related to sanitization of markup. * * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the - * appropriate @link sanitization sanitization functions @endlink or the @link + * appropriate @link sanitization functions @endlink or the @link * theme_render theme and render systems @endlink so that the output can be * themed, escaped, and altered properly. * @@ -68,7 +68,7 @@ public static function isSafe($string, $strategy = 'html') { * @see drupal_validate_utf8() */ public static function checkPlain($text) { - @trigger_error('SafeMarkup::checkPlain() is scheduled for removal in Drupal 9.0.0. Rely on Twig\'s auto-escaping feature, or use the @link theme_render #plain_text @endlink key when constructing a render array that contains plain text in order to use the renderer\'s auto-escaping feature. If neither of these are possible, \Drupal\Component\Utility\Html::escape() can be used in places where explicit escaping is needed. See https://www.drupal.org/node/2549395.', E_USER_DEPRECATED); + @trigger_error('SafeMarkup::checkPlain() is scheduled for removal in Drupal 9.0.0. Twig has an auto-escaping feature, or use the @link theme_render #plain_text @endlink key when constructing a render array that contains plain text in order to use the renderer\'s auto-escaping feature. If neither of these are possible, \Drupal\Component\Utility\Html::escape() can be used in places where explicit escaping is needed. See https://www.drupal.org/node/2549395.', E_USER_DEPRECATED); return new HtmlEscapedText($text); }