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
If html file contains svg tag Marcel will detect "image/svg+xml" type.
This causes some problems with the browser, it says: "This page contains the following errors:"
Issue
If html file contains svg tag Marcel will detect "image/svg+xml" type.
This causes some problems with the browser, it says: "This page contains the following errors:"
Investigation
I use
Marcel::MimeType.for
and if I give pathname or IO it will call this,then this (
magic_match(io, method)
) with:find
.In the end, we iterate by MAGIC and find first matched type.
Conclusion
When I wrote this issue, I found a fix, but the latest version does not have it. When are you planning to release the next release?
The text was updated successfully, but these errors were encountered: