Preserve spaces in positioned PDF text#1902
Open
puneetdixit200 wants to merge 1 commit into
Open
Conversation
|
@puneetdixit200 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #120
Testing
UV_CACHE_DIR=/tmp/markitdown-uv-cache uv run --project . --extra pdf --with pytest pytest tests/test_pdf_memory.py::TestPdfMemoryOptimization::test_space_starved_pdfminer_output_uses_pdfplumber_text -qUV_CACHE_DIR=/tmp/markitdown-uv-cache uv run --project . --extra pdf --with pytest pytest tests/test_pdf_memory.py tests/test_pdf_tables.py tests/test_pdf_masterformat.py -qUV_CACHE_DIR=/tmp/markitdown-uv-cache GITHUB_ACTIONS=true uv run --project . --all-extras --with pytest --with openai pytest -qUV_CACHE_DIR=/tmp/markitdown-uv-cache HATCH_ENV_TYPE_VIRTUAL_PATH=/tmp/markitdown-hatch-envs GITHUB_ACTIONS=true uv run --with hatch hatch testUV_CACHE_DIR=/tmp/markitdown-uv-cache PRE_COMMIT_HOME=/tmp/markitdown-pre-commit uv run --with pre-commit pre-commit run --all-filesgit diff --check