mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +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
Notes:
sideshowbarker
2024-07-16 23:13:25 +09:00
Author: https://github.com/vkoskiv
Commit: 5615ea5386
Pull-request: https://github.com/SerenityOS/serenity/pull/19928
Reviewed-by: https://github.com/LucasChollet
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