python-openxml / python-docx

Create and modify Word documents with Python
MIT License
4.38k stars 1.08k forks source link

Ignoring Alt Text Retrieval when Iterating through docx.paragraphs #1374

Open caphefalumi opened 3 months ago

caphefalumi commented 3 months ago

Currently, when iterating through docx.paragraphs, alt text for images is retrieved along with the paragraphs as something like "[ALT TEXT]", how do I exclude alt text?

scanny commented 3 months ago

@caphefalumi what code are you running (smallest reproducible example) and what outputs are you getting?