Types which are used for html (xhtml) attachments: text/html application/html application/xhtml+xml Type which cannot be found in the wild: text/htmtags/2.6
end | end | ||||
end | end | ||||
if mtype == 'text' and (msubtype == 'html' or msubtype == 'htm') then | |||||
if (mtype == 'text' or mtype == 'application') and (msubtype == 'html' or msubtype == 'xhtml+xml') then | |||||
return 'html',21 | return 'html',21 | ||||
end | end | ||||
return 'pdf',weight | return 'pdf',weight | ||||
end | end | ||||
return exports | |||||
return exports |