Bug 154268 - CALC - Export to(X)HTML should have option to format output
Summary: CALC - Export to(X)HTML should have option to format output
Status: RESOLVED DUPLICATE of bug 153839
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Reported: 2023-03-19 08:50 UTC by robert
Modified: 2023-04-26 23:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description robert 2023-03-19 08:50:05 UTC
When exporting a sheet to (X)HTML, there's every chance that the resulting file might need additional massaging. However, the output is generated as one big textual blob. It would be nice is additional linebreaks could be inserted at least at logical levels (i.e. after </xxx) tags, to make editing in plain text editors a lot easier!

Steps to Reproduce:
1. Export a sheet to (X)HTML
2. Open in a plain text editor

Actual Results:
One big long unstructured blob

Expected Results:
A text with line-breaks at sensible places

Reproducible: Always

User Profile Reset: No

Additional Info:
Version: (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: CL threaded
Comment 1 Stéphane Guillou (stragu) 2023-04-26 23:43:11 UTC
Please test the upcoming version 7.5.3, which can be found at the bottom of the download page: https://www.libreoffice.org/download/download-libreoffice/
There is an improvement to the HTML export formatting which should help, not only for Writer. See bug 153839.
Marking as a duplicate but please let us know if you think the fix is not sufficient.

*** This bug has been marked as a duplicate of bug 153839 ***