LibreOffice also reacts differently, depending on whether the file referred to in the link exists, and where it is located. LibreOffice checks every new link and sets a target and protocol automatically. The result can be seen in the generated HTML code after saving the source document.