aboutsummaryrefslogtreecommitdiff
path: root/140
diff options
context:
space:
mode:
Diffstat (limited to '140')
-rw-r--r--140/index.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/140/index.md b/140/index.md
new file mode 100644
index 0000000..0909eee
--- /dev/null
+++ b/140/index.md
@@ -0,0 +1,10 @@
+Title: Improve quirk for text/xhtml content type
+Author: rodarima
+Created: Tue, 23 Apr 2024 21:21:35 +0000
+State: closed
+
+When a <meta> tag reports the "text/xhtml" content, we were correcting it to the type guessed in TypeDet. However, the current implementation to guess XHTML and HTML pages fails if the doctype is not at the start of the document, falling back to text/plain.
+
+A more robust solution is to set the TypeNorm to "application/xhtml+xml", which can be handled by a_Mime_get_viewer() as an HTML-like document.
+
+Fixes: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/7GJ4AAMFFPEHOIYEOH4NHVMSXMJDFYXG/ \ No newline at end of file