Bug 154268

Summary: CALC - Export to(X)HTML should have option to format output
Product: LibreOffice Reporter: robert
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: stephane.guillou
Priority: medium    
Version: 7.5.1.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=85904
Whiteboard:
Crash report or crash signature: Regression By:

Description robert 2023-03-19 08:50:05 UTC
Description:
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
3.

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: 7.5.1.2 (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 ***