Remedy for fail of file hyperlinks copied from Word to Writer?

This in MS Word:

image

when ctrl+clicked opens fine.

Copy and paste to LOW inserts slashes:

image

and unsurprisingly ctrl+click fails:

And idea how I can remedy this?

Workaround: save, open in LOW, copy and paste:

image

Version: 25.2.5.2 (X86_64) / LibreOffice Community
Build ID: 03d19516eb2e1dd5d4ccd751a0d6f35f35e08022
CPU threads: 4; OS: Windows 7 Service Pack 1 X86_64 (6.1 build 7601); UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-US
Calc: threaded

That’s how MS Word stores the data in the clipboard’s RTF format (note that a single backslash is a special character in RTF, so on the screenshot below, the four consecutive backslashes convert into two).


You may paste as HTML - that is stored correctly, they even somehow learned that backslashes are illegal in URLs.

In fact, that is a bug in LibreOffice - the syntax for field text is described in OOXML 17.16 Fields and Hyperlinks (and RTF 1.9.1 spec referenced OOXML); and there, the additional backslashes are mandated.

Filed tdf#168181