mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibCore: Replace non-breaking hyphens with regular ones in MimeData
These three lines were added in commits41d5531
,0f7a651
and97aca8f
all the way back in June 2020, and went unnoticed until Lucas pointed this out during my refactoring.
This commit is contained in:
parent
f2ce47e3a1
commit
5615ea5386
1 changed files with 3 additions and 3 deletions
|
@ -118,11 +118,11 @@ StringView guess_mime_type_based_on_filename(StringView path)
|
|||
if (path.ends_with(".webp"sv, CaseSensitivity::CaseInsensitive))
|
||||
return "image/webp"sv;
|
||||
if (path.ends_with(".pbm"sv, CaseSensitivity::CaseInsensitive))
|
||||
return "image/x‑portable‑bitmap"sv;
|
||||
return "image/x-portable-bitmap"sv;
|
||||
if (path.ends_with(".pgm"sv, CaseSensitivity::CaseInsensitive))
|
||||
return "image/x‑portable‑graymap"sv;
|
||||
return "image/x-portable-graymap"sv;
|
||||
if (path.ends_with(".ppm"sv, CaseSensitivity::CaseInsensitive))
|
||||
return "image/x‑portable‑pixmap"sv;
|
||||
return "image/x-portable-pixmap"sv;
|
||||
if (path.ends_with(".qoi"sv, CaseSensitivity::CaseInsensitive))
|
||||
return "image/x-qoi"sv;
|
||||
if (path.ends_with(".tga"sv, CaseSensitivity::CaseInsensitive))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue