From a9fe4599cd2306c801dc46c027f26be6b184b1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Mon, 25 May 2026 07:14:55 +0300 Subject: [PATCH] feat: switch markdown content retrieval to hidden textarea to prevent escaping issues --- resources/views/proposals/show.blade.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/views/proposals/show.blade.php b/resources/views/proposals/show.blade.php index 5632de6..15b86c4 100644 --- a/resources/views/proposals/show.blade.php +++ b/resources/views/proposals/show.blade.php @@ -677,6 +677,9 @@ + + + @@ -735,7 +738,7 @@ }); // 2. Markdown & Mermaid Parsing - const rawMarkdown = `{!! addslashes($proposal->content) !!}`; + const rawMarkdown = document.getElementById('markdown-source').value; // Custom parser function for GitHub-Style Alerts function parseGithubAlerts(text) {