-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Bug Fix #411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Bug Fix #411
Changes from 1 commit
334f58b
10b0bf9
c50e40e
1d1cae1
21b78dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -325,7 +325,7 @@ private static void generateOutputs(String inputPdfName, List<List<IObject>> con | |
| imagesDirectory = config.getImageDir(); | ||
| } else { | ||
| String fileName = Paths.get(inputPdfName).getFileName().toString(); | ||
| String baseName = fileName.substring(0, fileName.length() - 4); | ||
| String baseName = fileName.substring(0, fileName.length() - 4).replace(" ", "_"); | ||
| imagesDirectory = config.getOutputFolder() + File.separator + baseName + MarkdownSyntax.IMAGES_DIRECTORY_SUFFIX; | ||
|
Comment on lines
327
to
331
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick | 🔵 Trivial Add a regression test for spaced filenames (and multi-dot names). Please add/update integration coverage to validate default image directory naming for inputs like 🤖 Prompt for AI Agents |
||
| } | ||
| StaticLayoutContainers.setImagesDirectory(imagesDirectory); | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.