From f9d9c775fb80ec51b8d8e64e9e94c49e3bdb2fb0 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Fri, 9 Jan 2026 11:09:27 -0500 Subject: [PATCH] markdown fix --- views/DashboardView.php | 1 + views/TicketView.php | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/views/DashboardView.php b/views/DashboardView.php index 2d2823b..5caf3ca 100644 --- a/views/DashboardView.php +++ b/views/DashboardView.php @@ -12,6 +12,7 @@ + diff --git a/views/TicketView.php b/views/TicketView.php index 3f88194..86a2145 100644 --- a/views/TicketView.php +++ b/views/TicketView.php @@ -49,9 +49,9 @@ function formatDetails($details, $actionType) { + - "; + // Markdown will be rendered by JavaScript + echo htmlspecialchars($comment['comment_text']); } else { // For non-markdown comments, convert line breaks to
and escape HTML echo nl2br(htmlspecialchars($comment['comment_text']));