fix: x-data quotes conflict — tojson double-quotes break HTML attribute
FlowDeck CI / test (push) Failing after 4s
FlowDeck CI / docker (push) Has been skipped

tojson outputs JSON with double quotes, which clash with x-data="..."
HTML attribute delimiter. Changed x-data delimiters to single quotes
so JSON double quotes are contained properly within the attribute.
This commit is contained in:
2026-07-10 13:11:20 -04:00
parent db6acf0ec3
commit 4f0bd85e35
+1 -1
View File
@@ -7,7 +7,7 @@
{% endblock %}
{% block content %}
<div class="page-editor-wrapper" x-data="editor({{ page.id }}, {{ page.title | tojson }}, {{ page.content_format | tojson }}, {{ page.content | tojson }}, {{ page_favorited | tojson }})" x-init="init()">
<div class="page-editor-wrapper" x-data='editor({{ page.id }}, {{ page.title | tojson }}, {{ page.content_format | tojson }}, {{ page.content | tojson }}, {{ page_favorited | tojson }})' x-init="init()">
<!-- ═══════════ Top Action Bar ═══════════ -->
<div class="page-topbar">