From 39e72529406d8daa6860d2d14954fd7d63d6572a Mon Sep 17 00:00:00 2001 From: kira-offgrid Date: Wed, 21 May 2025 22:27:21 +0530 Subject: [PATCH] fix: python.lang.security.use-defused-xml-parse.use-defused-xml-parse-packages-markitdown-src-markitdown-converter_utils-docx-math-omml.py (#1251) --- .../markitdown/src/markitdown/converter_utils/docx/math/omml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/markitdown/src/markitdown/converter_utils/docx/math/omml.py b/packages/markitdown/src/markitdown/converter_utils/docx/math/omml.py index 03043a8..012b95d 100644 --- a/packages/markitdown/src/markitdown/converter_utils/docx/math/omml.py +++ b/packages/markitdown/src/markitdown/converter_utils/docx/math/omml.py @@ -6,7 +6,7 @@ Adapted from https://github.com/xiilei/dwml/blob/master/dwml/omml.py On 25/03/2025 """ -import xml.etree.ElementTree as ET +from defusedxml import ElementTree as ET from .latex_dict import ( CHARS,