Patch: XHTML importer .htm files


Subject: Patch: XHTML importer .htm files
From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Sat May 19 2001 - 02:35:22 CDT


This patch allows you to import XHTML with an .htm
extension as well as an .html extension.

Andrew Dunbar.

-- 
http://linguaphile.sourceforge.net

Index: src/wp/impexp/xp/ie_imp_XHTML.cpp =================================================================== RCS file: /cvsroot/abi/src/wp/impexp/xp/ie_imp_XHTML.cpp,v retrieving revision 1.16 diff -u -r1.16 ie_imp_XHTML.cpp --- src/wp/impexp/xp/ie_imp_XHTML.cpp 2001/05/07 06:49:06 1.16 +++ src/wp/impexp/xp/ie_imp_XHTML.cpp 2001/05/19 07:28:06 @@ -160,8 +160,8 @@ const char ** pszSuffixList, IEFileType * ft) { - *pszDesc = "XHTML (.html)"; - *pszSuffixList = "*.html"; + *pszDesc = "XHTML (.html, .htm)"; + *pszSuffixList = "*.html; *.htm"; *ft = getFileType(); return true; }

_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:05 CDT