-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
docusaurus-prince-pdf/index.ts
Line 11 in d17185d
| const __dirname = new URL('.', import.meta.url).pathname |
__dirname is prefixed with / on Windows systems, leading to paths like /C:/path/to/docusaurus-prince-pdf/.
That results in an invalid --style path when executing Prince on Windows, which it silently ignores.
docusaurus-prince-pdf/index.ts
Line 113 in d17185d
| : `prince --no-warn-css --style=${__dirname}print.css ${cookieArg} --input-list=${list} -o ${filename} ${args}` |
The result is print.css not being applied. If the --style argument has to be an absolute path, removing the prefix on Windows systems would fix the issue.
Metadata
Metadata
Assignees
Labels
No labels