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 -}}