mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibCore: Remove .xht from common_extensions in MimeType text/html
Extension .xht was part of common_extensions for two MimeType Array entries: application/xhtml+xml and text/html. Should only be part of one.
This commit is contained in:
parent
3171d57639
commit
cdb623b663
Notes:
github-actions[bot]
2025-06-26 00:50:54 +00:00
Author: https://github.com/rcorsi
Commit: cdb623b663
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4906
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ static Array const s_registered_mime_type = {
|
|||
|
||||
MimeType { .name = "text/css"sv, .common_extensions = { ".css"sv }, .description = "Cascading Style Sheet"sv },
|
||||
MimeType { .name = "text/csv"sv, .common_extensions = { ".csv"sv }, .description = "CSV text"sv },
|
||||
MimeType { .name = "text/html"sv, .common_extensions = { ".html"sv, ".htm"sv, ".xht"sv, "/"sv }, .description = "HTML document"sv }, // FIXME: The "/" seems dubious
|
||||
MimeType { .name = "text/html"sv, .common_extensions = { ".html"sv, ".htm"sv, "/"sv }, .description = "HTML document"sv }, // FIXME: The "/" seems dubious
|
||||
MimeType { .name = "text/xml"sv, .common_extensions = { ".xml"sv }, .description = "XML document"sv },
|
||||
MimeType { .name = "text/markdown"sv, .common_extensions = { ".md"sv }, .description = "Markdown document"sv },
|
||||
MimeType { .name = "text/plain"sv, .common_extensions = Vector(s_plaintext_suffixes.span()), .description = "plain text"sv },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue