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

Add SVG image detection based on file extension #119

Merged
merged 1 commit into from Jul 1, 2019

Conversation

Projects
None yet
2 participants
@lhw
Copy link
Contributor

commented Jun 18, 2019

Add simple SVG image detecetion base on the file extension .svg.

This fixes the SVG being delivered as binary/octet-stream and makes it possible to embedd the SVG.

Add SVG image detection based on file extension
Add simple SVG image detecetion base on the file extension .svg.
This fixes the SVG being delivered as binary/octet-stream and makes it possible to embedd the SVG.

Signed-off-by: Lennart Weller <lennart.weller@hansemerkur.de>

@SISheogorath SISheogorath merged commit 118314d into codimd:master Jul 1, 2019

4 checks passed

DCO DCO
Details
WIP Ready for review
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
security/snyk - package.json (codimd) No manifest changes detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.