]> BookStack Code Mirror - bookstack/commit
ZIP Exports: Fixed reference handling for images development
authorDan Brown <redacted>
Mon, 11 Aug 2025 13:19:48 +0000 (14:19 +0100)
committerDan Brown <redacted>
Mon, 11 Aug 2025 13:19:48 +0000 (14:19 +0100)
commita50a256939ea6907f156859f4ba16c10c180cfae
tree00365c71d1a93f0c408690c1d988cce3fee5e587
parent4830248a1e0a32bb8c3b8657d4c7a61b11c41acd
ZIP Exports: Fixed reference handling for images

Recent changes could mean missed references for images in non-page
locations. This fixes that, and tries to ensure images are used if we
already have a page-based image as part of the ZIP, otherwise ensure we
have a page as part of the export to attach the image to.
app/Exports/ZipExports/ZipExportReferences.php