From 853e66324e685294fd037929d1d3033f990f7ba8 Mon Sep 17 00:00:00 2001 From: dchaudhari7177 Date: Mon, 27 Jul 2026 11:42:22 +0530 Subject: [PATCH] Render literal HTML in message text as text, not live markup (closes #105) --- src/claude_code_transcripts/__init__.py | 9 ++++++++- tests/test_generate_html.py | 14 ++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/claude_code_transcripts/__init__.py b/src/claude_code_transcripts/__init__.py index e4854a3b..d8a323d9 100644 --- a/src/claude_code_transcripts/__init__.py +++ b/src/claude_code_transcripts/__init__.py @@ -701,7 +701,14 @@ def format_json(obj): def render_markdown_text(text): if not text: return "" - return markdown.markdown(text, extensions=["fenced_code", "tables"]) + # Render literal HTML in message text as visible text rather than live markup: an unclosed + #