Parsing of allowed HTML tags (for integration with Text Editor configuration) throws JS error when adding <tbody> element

Created on 31 March 2017, over 7 years ago
Updated 24 February 2023, over 1 year ago

Adding any of the following to the 'Allowed HTML tags' produces a JS error and breaks functionality:

<thead>, <tr>, <tbody>, <td>, <tfoot>

This is due to the following in /core/modules/filter/filter.filter_html.admin.js:

sandbox.innerHTML = allowedTags[t];
node = sandbox.firstChild;

Any of these tags return null instead of a Dom element.

🐛 Bug report
Status

Closed: outdated

Version

9.5

Component
Filter 

Last updated 2 days ago

No maintainer
Created by

🇨🇦Canada b_sharpe

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.

  • 🇳🇿New Zealand quietone New Zealand

    I tested this on Drupal 10.1.x, standard install. I used the steps given in #6. I was not able to reproduce the problem. In #15 a maintainer suggested that this has been fixed, and my testing confirms that. There also, hasn't been any reports of this on a supported version of Drupal.

    Therefore, closing as outdate If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").

    Thanks!

Production build 0.71.5 2024