[Libreoffice-bugs] [Bug 118957] New: Heading styles are changed after pasting html text

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 26 14:56:41 UTC 2018


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

            Bug ID: 118957
           Summary: Heading styles are changed after pasting html text
           Product: LibreOffice
           Version: 5.4.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: info at rathlev-home.de

Description:
After pasting some html text, e.g. from FireFox, into LibreOffice Writer, the
text font defined under "Default" in the styles manager is applied to all
sections except for headings. 
For sections enclosed in <hn>-tags (e.g. <h1>,<h2>) the font of the associated 
heading style will always be changed to "Liberation Serif".

Steps to Reproduce:
1. Empty page, all fonts set to "Liberation Sans" at 
"Tools > Options > LibreOffice Writer > Basic Fonts (Western)"

2. Paste some html text from FireFox:
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<p>Some <b>sample text</b> for demonstration</p>
<ul>
  <li>List 1</li>
  <li>List 2</li>
</ul>


Actual Results:
In the styles "Heading 1" and "Heading 2" the font is changed to "Liberation
Serif". All other text remains in the default font.

Expected Results:
Headings should use the font assigned by the associated style


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20180726/4fa31b7c/attachment.html>


More information about the Libreoffice-bugs mailing list