Docs(docx, xlsx...) download from docsify server change and can not be open correct. #1658
Closed
Description
Bug Report
Docs(docx, xlsx...) download from docsify server can not be open correct, change link from markdown to html5 download link work fine.
Steps to reproduce
Put some file to docsify server, such as a docx file, use markdown link for download, such as :
[a docx file](./folder/file.docx)
Downloaded this docx file frome the link, the file content change and can not be open by office word.
Change the markdown link to html5 stye, such as:
<a href='ip:port/file.docx' download>file</a>(must include "download")
It have no any problem.
What is current behaviour
docx/xlsx file download frome docsify broke(file size bigger than the raw).
What is the expected behaviour
Just download and don't change the file content.
Other relevant information
- Your OS:
- Node.js version:
- npm/yarn version:
- Browser version:
- Docsify version: 4.12.1
- Docsify plugins: