sw/source/filter/html/htmltabw.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit eae92409e7aefb0837a0408563bd3787406aab8c Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Tue Feb 28 09:19:09 2023 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Tue Feb 28 07:22:23 2023 +0000 Avoid extra newlines in HTML SwHTMLWrtTable adds SAL_NEWLINE_STRING itself calling SwHTMLWriter::OutNewLine explicitly, so the LFs inserted by HtmlWriter::end() just add noise. Change-Id: I67f3ef6b315185e9df33e3a21f3ea4a4d045e296 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147941 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx index a1dee0f75333..c1ba9a248d68 100644 --- a/sw/source/filter/html/htmltabw.cxx +++ b/sw/source/filter/html/htmltabw.cxx @@ -784,6 +784,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign, const SwWriteTableCol *pColumn = m_aCols[nCol].get(); HtmlWriter html(rWrt.Strm(), rWrt.maNamespace); + html.prettyPrint(false); // We add newlines ourself html.start(OOO_STRING_SVTOOLS_HTML_col); sal_uInt32 nWidth;