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']));