Closed iksnae closed 3 months ago
This PR fixes the syntax error in the Node.js build script (tools/build.js) that was causing the build to fail.
tools/build.js
The regular expression pattern at line 90 was incorrectly escaped:
/\\/(\\d+)-/
/\/(\d+)-/
This syntax error prevented the build from completing, which also prevented our image handling fixes in PR #28 from being properly tested.
Once this PR is merged, PR #28 can be tested to ensure images properly appear in PDF and EPUB outputs.
Build Script Fix
This PR fixes the syntax error in the Node.js build script (
tools/build.js
) that was causing the build to fail.Changes Made:
The regular expression pattern at line 90 was incorrectly escaped:
/\\/(\\d+)-/
(incorrect escaping causing syntax error)/\/(\d+)-/
(correct JavaScript regex pattern)This syntax error prevented the build from completing, which also prevented our image handling fixes in PR #28 from being properly tested.
Once this PR is merged, PR #28 can be tested to ensure images properly appear in PDF and EPUB outputs.