diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-09-20 14:53:39 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-09-22 00:31:47 +0200 |
commit | 4bc2d7c39c1c5c1cff05665c07330ce9f9395010 (patch) | |
tree | 0e49ee0090dac3079b40c287c697f19a25d16010 | |
parent | d42813db533b0a4930528ba1ccd34f33498ffe36 (diff) |
html: line break <br/> - use XML style single element declaration
Change-Id: I2e2b7fb85bd272a45d973c29f792c54aa7be0a82
-rw-r--r-- | sw/source/filter/html/htmlatr.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx index a6f507a4e921..826c7cce1d57 100644 --- a/sw/source/filter/html/htmlatr.cxx +++ b/sw/source/filter/html/htmlatr.cxx @@ -2524,7 +2524,8 @@ Writer& OutHTML_SwTxtNode( Writer& rWrt, const SwCntntNode& rNode ) if( 0x0a == c ) { HTMLOutFuncs::FlushToAscii( rWrt.Strm(), aContext ); - HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_linebreak ); + HtmlWriter aHtml(rWrt.Strm()); + aHtml.single(OOO_STRING_SVTOOLS_HTML_linebreak); } // #i120442#: if c is outside the unicode base plane output it as "&#******;" else if( c > 0xffff) |