html export: 4.0 needs type attribute for style tag

Change-Id: Iaa076f639a4da564945385ee616d346c4f0d0889
This commit is contained in:
Thomas Arnhold
2013-10-07 09:54:44 +02:00
parent 646950f96d
commit c20f23a660
2 changed files with 5 additions and 2 deletions

View File

@@ -737,7 +737,8 @@ void OHTMLImportExport::WriteBody()
{
SAL_INFO("dbaccess.ui", "OHTMLImportExport::WriteBody" );
IncIndent(1); TAG_ON_LF( OOO_STRING_SVTOOLS_HTML_style );
IncIndent(1);
(*m_pStream) << "<" << OOO_STRING_SVTOOLS_HTML_style << " " << OOO_STRING_SVTOOLS_HTML_O_type << "=\"text/css\">";
(*m_pStream) << sMyBegComment; OUT_LF();
(*m_pStream) << OOO_STRING_SVTOOLS_HTML_body " { " << sFontFamily << '"' << OUStringToOString(m_aFont.Name, osl_getThreadTextEncoding()).getStr() << '\"';