[Libreoffice-bugs] [Bug 137174] New: HTML conversion: fields always shaded

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Oct 1 07:51:20 UTC 2020


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

            Bug ID: 137174
           Summary: HTML conversion: fields always shaded
           Product: LibreOffice
           Version: 6.4.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: page74010-sf at yahoo.fr

Created attachment 165989
  --> https://bugs.documentfoundation.org/attachment.cgi?id=165989&action=edit
Document with page number field

When a Writer document is converted to HTML (with File>Save AS requesting HTML
output), all fields get a background colour with <span style=background:
#c0c0c0"> -- here the field item -- </span> even when no formatting has been
applied.

Print preview or print show the intended formatting (no background).

View>Field Shadings has no effect as expected because it is only a screen
visual clue.

The shading color is not controlled by Tools>Options>LibreOffice>Application
Colors because these settings only apply to the UI.

A converter should not add formatting of any kind on its own, all the more when
this addition cannot be customised by user.

The attached file, when converted to HTML, exhibits the wrong behaviour. It
contains a single line with a field for the page number. The HTML shading
occurs with any field.

The bug report is a follow-on for
https://ask.libreoffice.org/en/question/268617/how-do-i-get-rid-of-field-shadings-in-mail-merged-file-thats-been-converted-to-html/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201001/36e5f540/attachment.htm>


More information about the Libreoffice-bugs mailing list