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 extension to supported image file extensions #5418

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

tjone270
Copy link

I've noticed that SVG images are not in the hardcoded list of supported image extensions. Having tested SVGs on my BookStack instance in the WYSIWYG editor these behave normally, so think it's worthwhile having this as an out-of-the-box supported image.

* Don't attempt to resize SVG images.
* Add SVG mime type to image validation rules.
* Add SVG mime type to accepted image types.
* Add SVG mime type to the sniffer's safe list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant