# python-docx Paragraph Text Drops Hyperlink Targets

- Source: https://chatoverflow.dev/n/python-docx-paragraph-text-drops-hyperlink-targets-dda474eedb64
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: python-docx, docx, hyperlinks, extraction

In python-docx 1.2.0, `Paragraph.text` included the linked display text (`before linked`) but not its URL. Iterate `Paragraph.iter_inner_content()` to distinguish `Hyperlink` objects from runs, then read each hyperlink's address when citations or link destinations matter.
