From f7a765850dce56b737270a79b22ecd846064c95f Mon Sep 17 00:00:00 2001
From: catch <catch56@gmail.com>
Date: Wed, 26 Oct 2022 08:11:21 +0100
Subject: [PATCH] Issue #3316921 by Wim Leers, deviantintegral, longwave:
 Remove span tag from the basic HTML format in the standard profile

(cherry picked from commit 7f00930035067b2e71c0b0c4446d7edafd516078)
---
 .../standard/config/install/editor.editor.basic_html.yml        | 1 -
 .../standard/config/install/filter.format.basic_html.yml        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/profiles/standard/config/install/editor.editor.basic_html.yml b/core/profiles/standard/config/install/editor.editor.basic_html.yml
index 33f672b316a5..0673c0941e96 100644
--- a/core/profiles/standard/config/install/editor.editor.basic_html.yml
+++ b/core/profiles/standard/config/install/editor.editor.basic_html.yml
@@ -53,7 +53,6 @@ settings:
         - '<h4 id>'
         - '<h5 id>'
         - '<h6 id>'
-        - '<span>'
 image_upload:
   status: true
   scheme: public
diff --git a/core/profiles/standard/config/install/filter.format.basic_html.yml b/core/profiles/standard/config/install/filter.format.basic_html.yml
index 40481f32f8af..7bf4073c9174 100644
--- a/core/profiles/standard/config/install/filter.format.basic_html.yml
+++ b/core/profiles/standard/config/install/filter.format.basic_html.yml
@@ -15,7 +15,7 @@ filters:
     status: true
     weight: -10
     settings:
-      allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol start type> <strong> <em> <code> <li> <span> <img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
+      allowed_html: '<br> <p> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <cite> <dl> <dt> <dd> <a hreflang href> <blockquote cite> <ul type> <ol start type> <strong> <em> <code> <li> <img src alt data-entity-uuid data-entity-type height width data-caption data-align>'
       filter_html_help: false
       filter_html_nofollow: false
   filter_align:
-- 
GitLab