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
{{ message }}
Repository navigation
Downloading a .docx file through docsify dev server corrupts file #1918
create a link to a word file: [test file](templates/test.docx ':ignore')
run docsify serve
click the link, then click on the downloaded file
What is current behaviour
Opening downloaded file causes "Word found unreadable content.." message.
My test file is 12kb, but the copy in downloads folder is 20kb
What is the expected behaviour
Downloaded file would be same as source
Other relevant information
link looks fine when inspecting element: <a href="templates/test.docx" target="_blank" rel="noopener">test file</a>
Download functions correctly when docs are viewed via github pages (and in the sandbox linked below) - only see the issue when using docsify dev server (so not impacting use - just confused me for a bit while writing the docs)
Activity