Skip to content

Fix markdown conversion for VML pict images#6

Open
Bruce-anle wants to merge 1 commit into
sudipnext:mainfrom
Bruce-anle:fix/vml-pict-images
Open

Fix markdown conversion for VML pict images#6
Bruce-anle wants to merge 1 commit into
sudipnext:mainfrom
Bruce-anle:fix/vml-pict-images

Conversation

@Bruce-anle
Copy link
Copy Markdown

Summary

  • detect legacy VML images under w:pict/v:imagedata
  • resolve the image relationship id with the existing image map
  • emit markdown image references for VML images
  • add a focused markdown converter test

Why

DOCX files can contain legacy VML images under w:pict. The converter only handled w:drawing images, so those images were skipped.

Tests

  • /home/brucean/doc4agent/.venv/bin/python -m pytest tests -q -p no:cacheprovider

Background: DOCX files can contain legacy VML images under w:pict/v:imagedata. The markdown converter only handled w:drawing images, so those images were skipped.\n\nChanges: detect w:pict VML image relationships and emit markdown image references using the existing image relationship map.\n\nVerification: /home/brucean/doc4agent/.venv/bin/python -m pytest tests -q -p no:cacheprovider passed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant