From f63c8c39b1766400557760513334781b8091b4bc Mon Sep 17 00:00:00 2001 From: timmy Date: Wed, 5 Aug 2026 23:48:27 +0000 Subject: [PATCH] fix: escape markdown preview HTML (#52) --- frontend/index.html | 10 ++-------- frontend/markdown.js | 29 +++++++++++++++++++++++++++++ src/main.py | 3 +++ tests/test_markdown_renderer.py | 25 +++++++++++++++++++++++++ 4 files changed, 59 insertions(+), 8 deletions(-) create mode 100644 frontend/markdown.js create mode 100644 tests/test_markdown_renderer.py diff --git a/frontend/index.html b/frontend/index.html index aeed274..46c80ac 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -159,6 +159,7 @@ textarea { resize: vertical; min-height: 120px; } +