Commit ee633b4
fix(insert-markers): extract images when insertMarkers enabled
Images were not being extracted when insert_markers=true but
include_image_indexes=false, causing image markers to be missing
from output.
The extractPageContent function now receives shouldIncludeImages
which is true when EITHER includeImageIndexes OR insertMarkers
is enabled, ensuring images are available for marker insertion.
Verified with real-world PDF (SOLO 574 HYDRO manual) showing
correct [IMAGE] markers on all diagram pages.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6b1778e commit ee633b4
2 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1537 | 1537 | | |
1538 | 1538 | | |
1539 | 1539 | | |
1540 | | - | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
1541 | 1546 | | |
1542 | 1547 | | |
1543 | 1548 | | |
| |||
1633 | 1638 | | |
1634 | 1639 | | |
1635 | 1640 | | |
1636 | | - | |
| 1641 | + | |
| 1642 | + | |
1637 | 1643 | | |
1638 | 1644 | | |
1639 | 1645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments