From 8f412ed66ff34ce45c3be787e65cb8e5be11ed91 Mon Sep 17 00:00:00 2001 From: kira-offgrid Date: Wed, 14 May 2025 08:32:11 +0000 Subject: [PATCH] fix: python.lang.security.use-defused-xml-parse.use-defused-xml-parse-packages-markitdown-src-markitdown-converter_utils-docx-math-omml.py --- .../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,