From: XhmikosR Date: Sat, 31 Aug 2019 05:11:16 +0000 (+0300) Subject: Fix shortcodes/example.html class bug. (#29344) X-Git-Tag: v5.0.0-alpha1~792 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=919b526f17a08cefba51c42b831c922adecb4a9f;p=thirdparty%2Fbootstrap.git Fix shortcodes/example.html class bug. (#29344) It always used the first placeholder's class before. --- 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) -}}