BareHtmlPageRenderer calls renderRoot and can lead to endless scanning loop

Created on 24 July 2025, 3 days ago

Problem/Motivation

BareHtmlPageRenderer calls renderRoot and can lead to the scan going endlessly. Instead we need to render the node in isolation.

Steps to reproduce

Proposed resolution

    $html_build = [
      '#type' => 'html',
      '#attributes' => [],
      'page' => [
          '#type' => 'page',
          '#theme' => 'page',
          '#title' => '',
          'content' => $build,
        ],
    ];
    $html = $renderer->renderInIsolation($html_build);

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024