Remove MIME type from HTML table format.

I did not realize when I added this that it would mean that ALL
files detected as text/html would be handled this way.

Should fix #11087. But it is the right thing to do anyway.
This commit is contained in:
Richard Kimberly Heck 2019-10-12 14:04:54 -04:00
parent 1ea2e250c3
commit ac106bd720

View File

@ -692,7 +692,7 @@ def checkFormatEntries(dtl_tools):
rc_entry = [r'''\Format gnumeric gnumeric "Gnumeric spreadsheet" "" "" "%%" "document" "application/x-gnumeric" rc_entry = [r'''\Format gnumeric gnumeric "Gnumeric spreadsheet" "" "" "%%" "document" "application/x-gnumeric"
\Format excel xls "Excel spreadsheet" "" "" "%%" "document" "application/vnd.ms-excel" \Format excel xls "Excel spreadsheet" "" "" "%%" "document" "application/vnd.ms-excel"
\Format excel2 xlsx "MS Excel Office Open XML" "" "" "%%" "document" "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" \Format excel2 xlsx "MS Excel Office Open XML" "" "" "%%" "document" "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
\Format html_table html "HTML Table (for spreadsheets)" "" "" "%%" "document" "text/html" \Format html_table html "HTML Table (for spreadsheets)" "" "" "%%" "document" ""
\Format oocalc ods "OpenDocument spreadsheet" "" "" "%%" "document" "application/vnd.oasis.opendocument.spreadsheet"''']) \Format oocalc ods "OpenDocument spreadsheet" "" "" "%%" "document" "application/vnd.oasis.opendocument.spreadsheet"'''])
# #
checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'], checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'],