You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When constructing a data: the URL with '#', everything after the '#' is treated as a fragment, which explains why the content gets truncated.
To solve this you can encode the HTML content properly using encodeURIComponent(), which will ensure that all special characters, including #, are treated correctly.
For some reasons the download file is truncated but we can see the full page when using View Raw HTML in new Tab.
I'll see if I can create a pull request when I have the time.
The text was updated successfully, but these errors were encountered: