[Libreoffice-bugs] [Bug 132773] New: Copying an underlined word from an html document loses underline property

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 6 13:46:59 UTC 2020


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

            Bug ID: 132773
           Summary: Copying an underlined word from an html document loses
                    underline property
           Product: LibreOffice
           Version: 6.4.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: hi-angel at yandex.ru

I don't know if its cause is the same as of #132770 report, so I'm reporting it
separately, feel free to make as dup if that's the case.

# Steps to reproduce

1. Create a test.html file with the following content
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
    <head>
      <meta charset="utf-8" />
      <meta name="generator" content="pandoc" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0,
user-scalable=yes" />
      <title>test2</title>
      <style>
        code{white-space: pre-wrap;}
        span.smallcaps{font-variant: small-caps;}
        span.underline{text-decoration: underline;}
        div.column{display: inline-block; vertical-align: top; width: 50%;}
        div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
        ul.task-list{list-style: none;}
      </style>
      <!--[if lt IE 9]>
        <script
src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
      <![endif]-->
    </head>
    <body>
    <ins>
    Test
    </ins>
    </body>
    </html>
2. Open it in a browser (tested with Qutebrowser, Chromium, Firefox)
3. Copy the underlined word "Test" from a browser
4. Paste in a LO Writer document

## Expected

Word "Test" that appears in lowriter is underlined (same as what you see in a
browser)

## Actual

"Test" is not underlined

-- 
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/20200506/7f44af3d/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list