Skip to content

Commit 657571c

Browse files
authored
Merge pull request #3 from Alexander-Wilms/main
Use defusedxml for Parsing XML
2 parents 3007096 + 544278f commit 657571c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/update.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
import json_repair
44
import os
55
import json5
6-
import xml.etree.ElementTree as ET
76
from mdutils.mdutils import MdUtils
87
import pandas as pd
8+
import defusedxml.ElementTree as ET
99

1010
# https://stackoverflow.com/a/18381470 (Onur Yıldırım, CC BY-SA 4.0)
1111
def remove_comments(string):

requirements.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
defusedxml==0.7.1
12
json5==0.9.11
2-
pandas==1.5.3
3-
numpy==1.26.4
3+
json_repair==0.20.1
44
mdutils==1.6.0
5-
json_repair==0.20.1
5+
numpy==1.26.4
6+
pandas==1.5.3

0 commit comments

Comments
 (0)