Skip to content

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

@saf-dmitry

Description

@saf-dmitry

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions