From aa686c0f2b9b0b337cfa460918923bc5953c2d41 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 2 Jun 2023 09:42:47 +0000 Subject: [PATCH] escape usign html and ' --- .../templates/shortcodes/prism-highlight.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig b/plugins/prism-highlight/templates/shortcodes/prism-highlight.html.twig index 327ccb9..e47737d 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|e('html') }}' {% endif %} >{{- content|e('html') -}}