diff options
Diffstat (limited to 'python/collateral/common.py')
| -rw-r--r-- | python/collateral/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/collateral/common.py b/python/collateral/common.py index 6abf0233..48b602e0 100644 --- a/python/collateral/common.py +++ b/python/collateral/common.py @@ -197,7 +197,7 @@ def load_pdf(file_path, pages=False): ["pdftohtml", "-xml", "-stdout", "-i", file_path.as_posix()], capture_output=True, ) - soup = BeautifulSoup(proc.stdout, features="lxml") + soup = BeautifulSoup(proc.stdout, features="xml") if pages: r = [] for page in soup.findAll("page"): |
