Bug 169429 - FILEOPEN Markdown URLs containing ";:&%" are not treated as hyperlinks
Summary: FILEOPEN Markdown URLs containing ";:&%" are not treated as hyperlinks
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Markdown
  Show dependency treegraph
 
Reported: 2025-11-13 23:15 UTC by nobu
Modified: 2025-11-20 18:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample markdown file (1.07 KB, text/x-matlab)
2025-11-13 23:17 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2025-11-13 23:15:57 UTC
Description:
Writer Markdown Import: URLs containing ";:&%" are not treated as hyperlinks.

Steps to Reproduce:
1. Create a Markdown file (.md) with the following URL and open it in Writer:

[libreoffice/old & Sort](https://downloadarchive.documentfoundation.org/libreoffice/old/?C=M;O=D)  
https://downloadarchive.documentfoundation.org/libreoffice/old/?C=M;O=D  

Actual Results:
2. Links created with the []() syntax will work, but links with only a URL will not be processed correctly.
   (";O=D" not in hyperlink)

Expected Results:
2. The entire text is treated as a valid hyperlink.


Reproducible: Always


User Profile Reset: No

Additional Info:

URLs containing ": &%" are also not treated as hyperlinks.
Common Markdown editors (VS-Code, Obsidian) handle it correctly, so it should be treated as a URL by Writer as well.

Reproducible
[2025-11-12]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (ja_JP); UI: en-US
Calc: CL threaded
Comment 1 nobu 2025-11-13 23:17:24 UTC
Created attachment 203962 [details]
Sample markdown file
Comment 2 jcline 2025-11-15 04:33:44 UTC
I could reproduce in Version: 25.8.2.2 (X86_64)
Build ID: d401f2107ccab8f924a8e2df40f573aab7605b6f
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

I could not reproduce in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Both links were working.
Comment 3 nobu 2025-11-16 13:53:32 UTC
Reproducible
[2025-11-13]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d2def868cb3ac5a7e538a911e83d7d907a2ec794
CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: ja-JP (ja_JP.UTF-8); UI: en-US
Calc: threaded
Comment 4 nobu 2025-11-19 10:24:03 UTC
Reproducible
[2025-11-19]
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 620(Build:0)
CPU threads: 4; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: CL threaded
Comment 5 Buovjaga 2025-11-20 18:41:21 UTC
Yeah, it breaks at the semicolon.

Arch Linux 64-bit
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c2a0e06b637f798b508de408f820f496a5419d9f
CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 20 November 2025