A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/762 below:

markdown-link-at-pos is confused by parentheses in the url · Issue #762 · jrblevin/markdown-mode · GitHub

Expected Behavior

Clicking on a link in the form ![Text](url(par).png "label") should find-file on url(par).png.

Actual Behavior

Clicking on that link instead creates a new file named url(par).png "label"

Steps to Reproduce

The issue seems to be markdown-link-at-pos which is confused by parentheses within the url.

  1. Type ![Text](url(par).png "label"), then
  2. position the point within the text, and then
  3. call (nth 3 (markdown-link-at-pos (point))). This returns:
#("url(par).png \"label\"" 0 3 (face [... a variety of face information I'm omitting.]))
Software Versions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4