Bug 36447 - FORMATTING HTML formatting problems with spacing and font size
Summary: FORMATTING HTML formatting problems with spacing and font size
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
3.3.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
Keywords: filter:html
Depends on:
Blocks: HTML-Export
  Show dependency treegraph
Reported: 2011-04-20 18:03 UTC by Dave Yost
Modified: 2021-05-28 03:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:

Example source document (18.79 KB, application/vnd.oasis.opendocument.text)
2011-04-20 18:04 UTC, Dave Yost
saved HTML from the example source document (3.81 KB, text/html)
2011-04-20 18:05 UTC, Dave Yost

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Yost 2011-04-20 18:03:58 UTC
Being able to print pages on paper and export as HTML from the same source document is an extremely valuable feature. It should be maintained so that it works well.

See the attached files for various problems with saving as html.
1. too much line spacing in one of the fonts used
2. leading spaces not present in html
3. font sizes apear the same in the odt but not in the html
Comment 1 Dave Yost 2011-04-20 18:04:44 UTC
Created attachment 45897 [details]
Example source document
Comment 2 Dave Yost 2011-04-20 18:05:11 UTC
Created attachment 45898 [details]
saved HTML from the example source document
Comment 3 Björn Michaelsen 2011-12-23 12:06:50 UTC Comment hidden (obsolete)
Comment 4 Florian Reisinger 2012-08-14 14:04:05 UTC Comment hidden (obsolete)
Comment 5 Florian Reisinger 2012-08-14 14:04:58 UTC Comment hidden (obsolete)
Comment 6 Florian Reisinger 2012-08-14 14:09:26 UTC Comment hidden (obsolete)
Comment 7 Florian Reisinger 2012-08-14 14:11:26 UTC Comment hidden (obsolete)
Comment 8 sasha.libreoffice 2012-08-31 09:59:41 UTC
reproduced in 3.6.1 on Fedora 64 bit. Distance between lines in html is still too big
Comment 9 QA Administrators 2015-04-01 14:42:27 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2015-04-24 16:31:54 UTC

Win 7 Pro 64-bit Version: (x64)
Build ID: f3375fa07f27bd2ade519af3c07d69040d10eaa9
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-22_23:38:50
Locale: fi_FI
Comment 11 QA Administrators 2016-09-20 09:33:25 UTC Comment hidden (obsolete)
Comment 12 Telesto 2017-05-24 18:19:54 UTC
Repro with 
Build ID: d57e6cd9dcc96112994ca2b14ac45896e86b26e5
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-18_22:43:07
Locale: nl-NL (nl_NL); Calc: CL
Comment 13 QA Administrators 2018-11-07 04:01:32 UTC Comment hidden (obsolete)
Comment 14 QA Administrators 2020-11-07 04:11:42 UTC Comment hidden (obsolete)
Comment 15 stragu 2021-05-28 03:51:48 UTC
reproduced with:

Version: / LibreOffice Community
Build ID: 4a9eef7849a75ba91806886ea9c96d114c8d56f9
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-22_06:45:25
Calc: threaded

On top of the three issues described, the border disappears because of duplicated style attributes, but I believe the issue might already be covered by Bug 132739.