Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website pdf.math.dev doesn't work #4

Open
mkilinskidev opened this issue Jun 5, 2021 · 2 comments
Open

Website pdf.math.dev doesn't work #4

mkilinskidev opened this issue Jun 5, 2021 · 2 comments

Comments

@mkilinskidev
Copy link

In the console we can find some issues

Uncaught (in promise) DOMException: Failed to execute 'querySelectorAll' on 'DocumentFragment': '</pre></code>
<h3>Page Breaks</h3>
<p>By default' is not a valid selector.
    at Breaks.processBreaks (https://pdf.math.dev/paged.polyfill.js:28816:27)
    at Breaks.afterParsed (https://pdf.math.dev/paged.polyfill.js:28810:9)
    at https://pdf.math.dev/paged.polyfill.js:364:26
    at Array.forEach (<anonymous>)
    at Hook.trigger (https://pdf.math.dev/paged.polyfill.js:363:15)
    at Chunker.flow (https://pdf.math.dev/paged.polyfill.js:2583:33)
    at async Previewer.preview (https://pdf.math.dev/paged.polyfill.js:31035:15)
    at async https://pdf.math.dev/paged.polyfill.js:31096:11
@ashok-khanna
Copy link
Owner

Can you let me know your browser / operating system etc? I will have a look. It works best on Chrome and I tested on MacOS and if I remember correctly Windows. The main use is as part of a headless chrome setup to automate pdf generation from HTML files, but I will have a look anyway when I have some time. Thanks for raising it.

@mkilinskidev
Copy link
Author

Windows 10 19043.1023, Microsoft Edge 91.0.864.41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants