docling-project / docling-project/docling

Parsing issue in regards to " being changed to ' in tables

Open
#1,433 1 comment 0 reactions 1 assignee Assigned to @cau-git View on GitHub
bug
Dominant language
Python
Stars
66.4k
Forks
4.8k
Avg merge
2d 21h
Merged PRs (30d)
84

Description

### Bug

When I am parsing a pdf file instances of where a " is used is changed into a ' in a table. This is an issue as these symbols are frequently tied to units of measurement in documents I work with.

### Steps to reproduce

Parse a pdf file which has tables where " is used in the table cells. In doing so all instances of " will be converted to ' and all instances of ' will also be '.

See example here:

Original PDF screen shot.
![Image](https://github.com/user-attachments/assets/3553cf5e-c775-4c4a-92db-92d6850f4b7b)

Converted to Markdown.
![Image](https://github.com/user-attachments/assets/47a44c3b-7030-490f-b06f-21f8b6e3bb8f)

![Image](https://github.com/user-attachments/assets/b230b85d-b0bf-4126-8d90-8e6056eae6fe)

I can also provide the pdf file itself if that is helpful but don't want to upload onto this bug report since there are names, email addresses, and phone numbers on it.

### Docling version

Docling version: 2.30.0
Docling Core version: 2.27.0
Docling IBM Models version: 3.4.0
Docling Parse version: 4.0.0
Python: cpython-312 (3.12.7)
Platform: Windows-11-10.0.26100-SP0

### Python version

Python 3.12.7

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.