From 11d3df6c66dbccc563c19252a6b8e5f50db5e551 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 2 Jun 2023 10:03:55 +0000 Subject: [PATCH] test --- plugins/prism-highlight/shortcodes/PrismShortcode.php | 1 - .../templates/shortcodes/prism-highlight.html.twig | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/prism-highlight/shortcodes/PrismShortcode.php b/plugins/prism-highlight/shortcodes/PrismShortcode.php index b6b2462..be989e2 100644 --- a/plugins/prism-highlight/shortcodes/PrismShortcode.php +++ b/plugins/prism-highlight/shortcodes/PrismShortcode.php @@ -34,7 +34,6 @@ class PrismShortcode extends Shortcode $cl_output = $sc->getParameter('cl-output'); $cl_filter_output = $sc->getParameter('cl-filter-output'); $cl_continuation = $sc->getParameter('cl-continuation'); - echo $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..6085885 100644 --- a/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig +++ b/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig @@ -7,5 +7,5 @@ {% 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 %} ->{{- content|e('html') -}} + >{{- content|e('html') -}}