eligrey / eligrey/FileSaver.js

PDF file is not generated properly if it has dots in the name

Open
#634 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
22k
Forks
4.3k
PR merge metrics
No merged PRs in 30d

Description

Creating pdf files without dots works fine. For example, if I want to create a file called `'somefile'`, I will get `somefile.pdf`. But if I try to create `'some.file'` I will get `some.file`, not pdf file. I guess, `saveAs` function interprets symbols after dot as a file extension. This happens only with pdf files, other types of files, such as excel files, work fine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.