diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 7dc4c5b..e8cff8b 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1300,7 +1300,7 @@ function template_preprocess_html(&$variables) { 'scripts_bottom' => 'js-bottom', 'head' => 'head', ]; - $variables['placeholder_token'] = Markup::create(Crypt::randomBytesBase64(55)); + $variables['placeholder_token'] = Crypt::randomBytesBase64(55); foreach ($types as $type => $placeholder_name) { $placeholder = '<' . $placeholder_name . '-placeholder token="' . $variables['placeholder_token'] . '">'; $variables['#attached']['html_response_attachment_placeholders'][$type] = $placeholder;