https://bugs.documentfoundation.org/show_bug.cgi?id=167445

            Bug ID: 167445
           Summary: Writer Save As HTML wraps BR tags in Paragraph tags
                    for empty lines
           Product: LibreOffice
           Version: 25.2.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If a line is empty (has only a return), the HTML will have a P and BR tag for
that one line, creating two lines (plus margins) in the rendered page, which
creates a lot of unnecessary white space and awkward formatting.

Export to HTML does not do this.

Steps to Reproduce:
1.open a DOCX that has empty lines
2.Save As > HTML
3.open the HTML file in a web browser

Actual Results:
observe any empty lines in the DOCX are doubled in the web page

e.g.,
<p class="western" align="justify" style="line-height: 100%; margin-bottom:
0in">
<br/>

</p>

Expected Results:
<p class="western" align="justify" style="line-height: 100%; margin-bottom:
0in">
</p>


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 16; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to