aboutsummaryrefslogtreecommitdiff
path: root/src/djpeg.h
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-04-23 22:57:28 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2024-04-26 22:55:13 +0200
commitd10b35011731b4660e7b796b1e19a44144c63a3c (patch)
tree97305d2d0216e229f188d1e2b463f333a2df8128 /src/djpeg.h
parent52110e1ea2a50e91e66bd049811036f53b7866e9 (diff)
Improve quirk for text/xhtml content type
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. Reported-by: Kevin Koster <dillo@ombertech.com> See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/7GJ4AAMFFPEHOIYEOH4NHVMSXMJDFYXG/
Diffstat (limited to 'src/djpeg.h')
0 files changed, 0 insertions, 0 deletions