From 919b526f17a08cefba51c42b831c922adecb4a9f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 31 Aug 2019 08:11:16 +0300 Subject: [PATCH] Fix shortcodes/example.html class bug. (#29344) It always used the first placeholder's class before. --- site/layouts/shortcodes/example.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html index 67813b70fe..bea1d9416a 100644 --- a/site/layouts/shortcodes/example.html +++ b/site/layouts/shortcodes/example.html @@ -23,20 +23,21 @@ {{- if (strings.Contains $input `\n" "✂️" -}} {{- $modified_content = split $modified_content "✂️" -}} - {{- if (strings.Contains $input `` $image_class) -}}