diff --git a/plugins/prism-highlight/shortcodes/PrismShortcode.php b/plugins/prism-highlight/shortcodes/PrismShortcode.php index ba6d6d5..be989e2 100644 --- a/plugins/prism-highlight/shortcodes/PrismShortcode.php +++ b/plugins/prism-highlight/shortcodes/PrismShortcode.php @@ -33,7 +33,7 @@ class PrismShortcode extends Shortcode $cl_prompt = $sc->getParameter('cl-prompt', $config->get('plugins.command-line-prompt')); $cl_output = $sc->getParameter('cl-output'); $cl_filter_output = $sc->getParameter('cl-filter-output'); - $cl_continuation = $sc->getParameter("cl-continuation"); + $cl_continuation = $sc->getParameter('cl-continuation'); return $this->twig->processTemplate('shortcodes/prism-highlight.html.twig', [ 'content' => trim($content), diff --git a/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig b/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig index 0dee6f0..40a6896 100644 --- a/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig +++ b/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig @@ -6,6 +6,6 @@ {% if cl_prompt %}data-prompt="{{ cl_prompt }}"{% endif %} {% if ln_start %}data-start="{{ ln_start }}"{% endif %} {% if highlight_lines %}data-line=" {{ highlight_lines }}"{% endif %} - {% if cl_continuation %}data-continuation-str="{{ cl_continuation }}"{% endif %} + {% if cl_continuation %}data-continuation-str="{{ cl_continuation }}" {% endif %} >{{- content|e('html') -}}