Files
serenity/Userland/Libraries/LibCore/MimeData.cpp
Aliaksandr Kalenik 4a514f32b6 LibCore: Recognize .xht as XHTML in MIME parser for file names
Fixes a bug when https://wpt.live/css/CSS2/positioning/abspos-001.xht
saved as file fails because we incorrectly recognized its MIME type
as HTML, leading to incorrect self-closing tag handling and thus
incorrect rendering.

(cherry picked from commit 71eded0471f0c4f200ffa74094e2c3809d9a1090)
2024-11-15 23:09:44 -05:00

15 KiB