diff --git a/post_parser.py b/post_parser.py
index fa914f7..240eaf3 100644
--- a/post_parser.py
+++ b/post_parser.py
@@ -304,7 +304,7 @@ class PostParser:
# Add raw JSON debug output if debug is enabled
if debug:
debug_json = json.dumps(message, indent=2, ensure_ascii=False, default=str)
- debug_json = html.escape(debug_json).replace('\n', '
').replace('\\"', '"')
+ debug_json = debug_json.replace('\\', '').replace('"{', '{').replace('}"', '}').replace('\n', '
')
html_content.append(f'
{debug_json}')
html_content = '\n'.join(html_content)
return html_content