From db6acf0ec3a9cc55c9015a36adaefb3f795363fb Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 10 Jul 2026 13:07:27 -0400 Subject: [PATCH] fix: JS syntax error on pages with special characters in content x-data editor() arguments used manual |e escaping with single quotes. Page content containing newlines, quotes or backslashes broke the JavaScript string literal. Now uses |tojson filter for all fields (proper JSON escaping). --- app/templates/page_editor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/page_editor.html b/app/templates/page_editor.html index 40eb8f9..199dbbe 100644 --- a/app/templates/page_editor.html +++ b/app/templates/page_editor.html @@ -7,7 +7,7 @@ {% endblock %} {% block content %} -
+