[LyX/master] Remove MIME type from HTML table format.

Richard Kimberly Heck rikiheck at lyx.org
Sat Oct 12 17:51:28 UTC 2019


commit ac106bd7204cad36256eed70116f0f4447a75b30
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sat Oct 12 14:04:54 2019 -0400

    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.
---
 lib/configure.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index d1989d1..6c1e20a 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -692,7 +692,7 @@ def checkFormatEntries(dtl_tools):
       rc_entry = [r'''\Format gnumeric gnumeric "Gnumeric spreadsheet" "" ""    "%%"   "document"	"application/x-gnumeric"
 \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 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"'''])
  #
     checkViewer('an HTML previewer', ['firefox', 'mozilla file://$$p$$i', 'netscape'],


More information about the lyx-cvs mailing list