From a91847b4ccc72e1eefca4052d66812e6ce7c50a9 Mon Sep 17 00:00:00 2001 From: "Manjula W." Date: Wed, 26 Feb 2025 18:55:38 +0800 Subject: [PATCH] Update pytm.py - remove html encoding markdown data, as pandoc do the html encoding during html generation. related to https://github.com/OWASP/pytm/issues/256 --- pytm/pytm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytm/pytm.py b/pytm/pytm.py index a711687..0adc02f 100644 --- a/pytm/pytm.py +++ b/pytm/pytm.py @@ -1090,8 +1090,8 @@ def report(self, template_path): e, f"while trying to open the report template file ({template_path})." ) - threats = encode_threat_data(TM._threats) - findings = encode_threat_data(self.findings) + threats = TM._threats + findings = self.findings elements = encode_element_threat_data(TM._elements) assets = encode_element_threat_data(TM._assets)