Skip to content

Commit

Permalink
fix(plugins/pdf-to-html): docLocation.html filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Mar 21, 2023
1 parent 28e196a commit 1d02c00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/pdf-to-html/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ async function plugin(server, options) {
*/
req.conversionResults.docLocation = {
directory,
html: tempFile,
// Poppler appends `-html` to the file name
html: `${tempFile}-html.html`,
id,
};

Expand Down

0 comments on commit 1d02c00

Please sign in to comment.