Kaydet (Commit) 441ef2e9 authored tarafından Timothy Markle's avatar Timothy Markle Kaydeden (comit) Caolán McNamara

Remove <!-- --> in <style> in writer export to HTML

Comment was used to hide <style> contents from old browsers.
No longer necessary for browsers now.

Change-Id: I1ffe77f9cc05b0c1579be379360a43a227420308
üst 42deae1e
......@@ -218,8 +218,6 @@ void SwHTMLWriter::OutCSS1_Property( const sal_Char *pProp,
sOut.append("<" + OString(OOO_STRING_SVTOOLS_HTML_style) + " " +
OString(OOO_STRING_SVTOOLS_HTML_O_type) + "=\"text/css\">");
Strm().WriteCharPtr( sOut.makeStringAndClear().getStr() );
OutNewLine();
Strm().WriteChar( '<' ).WriteCharPtr( OOO_STRING_SVTOOLS_HTML_comment );
IncIndentLevel();
}
......@@ -632,8 +630,6 @@ void SwHTMLWriter::OutStyleSheet( const SwPageDesc& rPageDesc, sal_Bool bUsed )
if( !bFirstCSS1Rule )
{
DecIndentLevel();
OutNewLine();
Strm().WriteCharPtr( "-->" );
OutNewLine();
HTMLOutFuncs::Out_AsciiTag( Strm(), OOO_STRING_SVTOOLS_HTML_style, sal_False );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment