Add test coverage for \Drupal\filter\Plugin\Filter\FilterHtml::getHTMLRestrictions

Created on 1 January 2024, about 1 year ago

Problem/Motivation

In πŸ› FilterHtml data loss when iframe and/or textarea is allowed Active we found that \Drupal\filter\Plugin\Filter\FilterHtml::getHTMLRestrictions broke when parsing certain elements such as iframe

This revealed there isn't explicit coverage for \Drupal\filter\Plugin\Filter\FilterHtml::getHTMLRestrictions which is used by other modules (media, ckeditor, fllter_format_audit) as a public API.

Steps to reproduce

Proposed resolution

Add explicit tests for \Drupal\filter\Plugin\Filter\FilterHtml::getHTMLRestrictions

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
FilterΒ  β†’

Last updated 8 days ago

No maintainer
Created by

πŸ‡¦πŸ‡ΊAustralia larowlan πŸ‡¦πŸ‡ΊπŸ.au GMT+10

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

Comments & Activities

Production build 0.71.5 2024