jrblevin/markdown-mode

Bug: Angle-bracketed URLs in inline code are fontified as links

Opened this issue · 0 comments

Expected Behavior

Bare URLs and URL-like expressions in angled brackets (e.g., <https://google.com> or <svg:tspan>) inside inline code spans are fontified as inline code.

Actual Behavior

Bare URLs and URL-like expressions in angled brackets (e.g., <https://google.com> or <svg:tspan>) inside inline code spans are fontified as links:

Screen Shot 2024-03-25 at 10 42 07

Steps to Reproduce

  1. Input the following text:

    `<https://google.com>`
    `<svg:tspan>`
    
  2. See <https://google.com> and <svg:tspan> fontified as links.

Backtrace

n.a.

Software Versions

  • Markdown Mode: From GitHub on 2023-10-18
  • Emacs: 28.2.1
  • OS: macOS Catalina

Additional info

Possibly broken after the 0a6a8d8 commit.