From c0e44c275154757760f9c0914cebb180007b9d41 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Sat, 6 Dec 2025 19:19:41 +0100 Subject: [PATCH] fix: escape Jinja syntax in copyCode examples on components page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap Jinja template code examples inside copyCode() JavaScript calls with {% raw %}{% endraw %} blocks to prevent Jinja from evaluating them during template rendering. Affected sections: - Macros overview copy button - Full pagination copy button - Simple pagination copy button 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/admin/components.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/templates/admin/components.html b/app/templates/admin/components.html index abb50265..281aefb4 100644 --- a/app/templates/admin/components.html +++ b/app/templates/admin/components.html @@ -178,13 +178,13 @@ html { {# In your table #} {{ pagination() }}{% endraw %} - @@ -236,10 +236,10 @@ html { -