From: XhmikosR Date: Tue, 17 Sep 2019 11:22:56 +0000 (+0300) Subject: example.html: use double quotes X-Git-Tag: v5.0.0-alpha1~674 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e40b3355f09d444337eb0081877d02329fbf52c9;p=thirdparty%2Fbootstrap.git example.html: use double quotes --- diff --git a/site/layouts/shortcodes/example.html b/site/layouts/shortcodes/example.html index 22b3906ee2..b1385653a2 100644 --- a/site/layouts/shortcodes/example.html +++ b/site/layouts/shortcodes/example.html @@ -19,7 +19,7 @@ {{- end -}} {{- if eq $show_markup true -}} - {{- $content := replaceRE `\n` `...` $input -}} - {{- $content = replaceRE `(class="\s*?")` `` $content -}} - {{- highlight (trim $content `\n`) `html` `` -}} + {{- $content := replaceRE `\n` `...` $input -}} + {{- $content = replaceRE `(class="\s*?")` "" $content -}} + {{- highlight (trim $content "\n") "html" "" -}} {{- end -}}