From b4b1b5bd941df975ebc260f11a706e44f002b969 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 13 Dec 2022 14:19:50 -0500 Subject: [PATCH 1/2] Remove/Replace unordered list tags. --- sections/rich-text.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/rich-text.liquid b/sections/rich-text.liquid index ccf1d972978..d101bdff370 100644 --- a/sections/rich-text.liquid +++ b/sections/rich-text.liquid @@ -26,7 +26,7 @@ {%- case block.type -%} {%- when 'heading' -%}

- {{ block.settings.heading | replace: 'p>', 'span>' }} + {{ block.settings.heading | replace: 'p>', 'span>' | replace: 'ul>', 'span>' | remove: '
  • ' | remove: '
  • ' }}

    {%- when 'caption' -%}

    From f92bc70ea51e3b5d1d5131ea5942471abc4f2ae0 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Tue, 13 Dec 2022 14:35:48 -0500 Subject: [PATCH 2/2] Ensure li items are each in their own span tags. --- sections/rich-text.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/rich-text.liquid b/sections/rich-text.liquid index d101bdff370..3676a344bb7 100644 --- a/sections/rich-text.liquid +++ b/sections/rich-text.liquid @@ -26,7 +26,7 @@ {%- case block.type -%} {%- when 'heading' -%}

    - {{ block.settings.heading | replace: 'p>', 'span>' | replace: 'ul>', 'span>' | remove: '
  • ' | remove: '
  • ' }} + {{ block.settings.heading | replace: 'p>', 'span>' | replace: 'li>', 'span>' | remove: '' }}

    {%- when 'caption' -%}