From 8d196fece51d1fac9fe821b7d530b830bf5ea209 Mon Sep 17 00:00:00 2001 From: njelich <12912633+njelich@users.noreply.github.com> Date: Wed, 19 Nov 2025 21:20:04 +0100 Subject: [PATCH 1/3] fix(): resolve issue with tag wrapping for --- _includes/refactor-content.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html index 5b6de2f1ef8..9b6f26628c5 100644 --- a/_includes/refactor-content.html +++ b/_includes/refactor-content.html @@ -170,15 +170,15 @@ {% else %} - {% assign _parent = _right | slice: 1, 4 %} + {% assign _parent = _right | remove_first: ">" | strip | slice: 0, 3 %} {% if _parent == '' %} - - {% assign _size = _img_content | size | minus: 1 %} + + {% assign _size = _img_content | strip | size | minus: 1 %} {% capture _class %} class="img-link{% unless _lqip %} shimmer{% endunless %}" {% endcapture %} - {% assign _img_content = _img_content | slice: 0, _size | append: _class | append: '>' %} + {% assign _img_content = _img_content | strip | slice: 0, _size | append: _class | append: '>' %} {% else %} From 3fe8e43b6a1f299a82e81700d0fe24423d90c96b Mon Sep 17 00:00:00 2001 From: njelich <12912633+njelich@users.noreply.github.com> Date: Thu, 20 Nov 2025 16:18:50 +0100 Subject: [PATCH 2/3] fix(): add popup class, fix modification --- _includes/refactor-content.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html index 9b6f26628c5..154629f2555 100644 --- a/_includes/refactor-content.html +++ b/_includes/refactor-content.html @@ -170,13 +170,14 @@ {% else %} - {% assign _parent = _right | remove_first: ">" | strip | slice: 0, 3 %} + {% assign _parent = _right | remove_first: ">" | strip | slice: 0, 4 %} + {% if _parent == '' %} {% assign _size = _img_content | strip | size | minus: 1 %} {% capture _class %} - class="img-link{% unless _lqip %} shimmer{% endunless %}" + class="popup img-link{% unless _lqip %} shimmer{% endunless %}" {% endcapture %} {% assign _img_content = _img_content | strip | slice: 0, _size | append: _class | append: '>' %} From ef3e53839270baebaa565718f5a0882c82e23858 Mon Sep 17 00:00:00 2001 From: njelich <12912633+njelich@users.noreply.github.com> Date: Thu, 20 Nov 2025 16:52:47 +0100 Subject: [PATCH 3/3] fix(): remove extra log statement --- _includes/refactor-content.html | 1 - 1 file changed, 1 deletion(-) diff --git a/_includes/refactor-content.html b/_includes/refactor-content.html index 154629f2555..1c439346f5f 100644 --- a/_includes/refactor-content.html +++ b/_includes/refactor-content.html @@ -171,7 +171,6 @@ {% else %} {% assign _parent = _right | remove_first: ">" | strip | slice: 0, 4 %} - {% if _parent == '' %}