BigPipe and Ajax scripts broken with Tidy HTML enabled

Created on 3 August 2022, almost 2 years ago
Updated 22 March 2023, over 1 year ago

Problem/Motivation

Tidy formatter does something on <scripts> tags interfering with BigPipe and Ajax elements on the page.

Drupal big-pipe placeholders are not rendered anymore

Ajax scripts (e.g. Views pager) do not work anymore.

I've tried all these options, without any luck:

 *     "indent" = TRUE,
 *     "indent-space" = TRUE,
 *     "input-xml" = FALSE,
 *     "output-xhtml" = FALSE,
 *     "hide-comments" = TRUE,
 *     "drop-empty-elements" = FALSE,
 *     "drop-empty-paras" = FALSE,
 *     "escape-scripts" = FALSE,
 *     "quote-nbsp" = FALSE,
 *     "fix-backslash" = FALSE,
 *     "new-inline-tags" = "drupal-big-pipe-scripts-bottom-marker",
 *     "wrap" = "1000",

Steps to reproduce

- Place a View with Ajax on a page
- Place the Account menu block on a page
- Both components should work correct (e.g. rendered and displayed after page load)

- Enable Tidy HTML module
- Both components are broken

Proposed resolution

TBD

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024