diff --git a/core/lib/Drupal/Core/Theme/ThemeManager.php b/core/lib/Drupal/Core/Theme/ThemeManager.php index 6850fcb..d34df91 100644 --- a/core/lib/Drupal/Core/Theme/ThemeManager.php +++ b/core/lib/Drupal/Core/Theme/ThemeManager.php @@ -312,6 +312,8 @@ protected function theme($hook, $variables = array()) { } // Generate the output using either a function or a template. + // It's ok to use SafeMarkup because it's being used for internal use + // and content is already presumed to be sanitized. $output = ''; if (isset($info['function'])) { if (function_exists($info['function'])) { diff --git a/example.gitignore b/example.gitignore index e2f0124..6158795 100644 --- a/example.gitignore +++ b/example.gitignore @@ -34,3 +34,6 @@ sites/simpletest # Ignore SimpleTest multi-site environment. # simpletest + +# PHPStorm +# .idea