Detect svg files as such, not generic images. #113

Merged
merged 1 commit into from Jan 11, 2017

Projects

None yet

2 participants

@tobli
Collaborator
tobli commented Jan 11, 2017

Update mime type check to classify image/svg+xml as svg, not a generic image. This fixes two issues:

  • Svg images now show ”svg” when hovering over the icon (for now it reuses the same icon as ”image” files.
  • Check for compression issues not applies to svg files as well.
@tobli tobli Detect svg files as such, not generic images.
Update mime type check to classify image/svg+xml as svg, not a generic image. This fixes two issues:
- Svg images now show ”svg” when hovering over the icon (for now it reuses the same icon as ”image” files.
- Check for compression issues not applies to svg files as well.
1d9e055
@tobli tobli requested a review from micmro Jan 11, 2017
@micmro
micmro approved these changes Jan 11, 2017 View changes

Nice!

@micmro micmro merged commit 9fcd394 into master Jan 11, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@tobli tobli deleted the identify-svg branch Jan 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment