diff --git a/core/modules/filter/tests/src/Unit/FilterHtmlTest.php b/core/modules/filter/tests/src/Unit/FilterHtmlTest.php index 53b583c..9196f17 100644 --- a/core/modules/filter/tests/src/Unit/FilterHtmlTest.php +++ b/core/modules/filter/tests/src/Unit/FilterHtmlTest.php @@ -173,4 +173,24 @@ public function stringArrayConversionTestCases() { ]; } + /** + * Test the legacy allowed_html format works when using the FilterHtml plugin. + */ + public function testLegacyAllowedHtmlFormat() { + $legacy_format = '