We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 737d6be + ade8269 commit ad7f22cCopy full SHA for ad7f22c
src/scoreinfo.ts
@@ -147,7 +147,7 @@ export class SheetInfoInPage extends SheetInfo {
147
export class SheetInfoHtml extends SheetInfo {
148
private readonly PAGE_COUNT_REG = /pages(?:"|"):(\d+)/;
149
private readonly THUMBNAIL_REG =
150
- /<link (?:.*) href="(.*)" rel="preload" as="image"/;
+ /<link[^>]*?href="([^"]+)"[^>]*?rel="preload"[^>]*?as="image"/;
151
152
private readonly DIMENSIONS_REG =
153
/dimensions(?:"|"):(?:"|")(\d+)x(\d+)(?:"|"),/;
0 commit comments