Skip to content

Commit

Permalink
Merge pull request #33 from arashi-dev/fix-corrupt-pdf
Browse files Browse the repository at this point in the history
fix corrupted pdf files
  • Loading branch information
PeterNjeim authored Sep 29, 2023
2 parents 8fbe740 + 8cc66c2 commit 2ad4e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scoreinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class SheetInfoInPage extends SheetInfo {
}

export class SheetInfoHtml extends SheetInfo {
private readonly PAGE_COUNT_REG = /pages(?:"|"):(\d+),/;
private readonly PAGE_COUNT_REG = /pages(?:"|"):(\d+)/;
private readonly THUMBNAIL_REG =
/<link (?:.*) href="(.*)" rel="preload" as="image"/;

Expand Down

0 comments on commit 2ad4e50

Please sign in to comment.