diff --git a/core/lib/Drupal/Core/EventSubscriber/HtmlViewSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/HtmlViewSubscriber.php index 8383d8e..ed2e87b 100644 --- a/core/lib/Drupal/Core/EventSubscriber/HtmlViewSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/HtmlViewSubscriber.php @@ -69,9 +69,7 @@ public function onPartialHtmlResponse(GetResponseForControllerResultEvent $event // @todo these are horrible passthrough hacks; remove them incrementally as we implement the respective pieces elsewhere. $vars = array( 'page' => array( - '#type' => 'markup', - '#markup' => $response->getContent(), - '#children' => $response->getContent(), // @todo some preprocessors demand this be here + '#children' => $response->getContent(), 'page_top' => empty($page['page_top']) ? array(): $page['page_top'], 'page_bottom' => empty($page['page_bottom']) ? array(): $page['page_bottom'], ),