jrblevin / markdown-mode

Emacs Markdown Mode
http://jblevins.org/projects/markdown-mode/
GNU General Public License v3.0
875 stars 160 forks source link

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

Open saf-dmitry opened 5 months ago

saf-dmitry commented 5 months ago

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

Additional info

Possibly broken after the 0a6a8d85934f8a8d289c43316a07b179498d9ac1 commit.