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/408 below:

Opening link containing close parenthesis truncates the link · Issue #408 · jrblevin/markdown-mode · GitHub

Expected Behavior
  1. Create a markdown file with the following contents:
[foo](https://commons.wikimedia.org/wiki/Category:SVG_locator_maps_of_continents_(location_map_scheme)_(Winkel_3_projection))
  1. Left-click on the link (either on foo or the link itself).

  2. The full URL (https://commons.wikimedia.org/wiki/Category:SVG_locator_maps_of_continents_(location_map_scheme)_(Winkel_3_projection)) is opened in a browser.

Actual Behavior

A URL is opened in the browser, but it's truncated just before the first close parenthesis (i.e. in the above case the URL https://commons.wikimedia.org/wiki/Category:SVG_locator_maps_of_continents_(location_map_scheme is opened.

Steps to Reproduce
emacs -Q --load ~/.emacs.d/elpa/markdown-mode-20190305.319/markdown-mode.el test-case.md

where test-case.md contains:

[foo](https://commons.wikimedia.org/wiki/Category:SVG_locator_maps_of_continents_(location_map_scheme)_(Winkel_3_projection))

or a more minimal:

[foo](https://example.com/())
Backtrace

None

Software Versions Further information

Interestingly, font lock is correctly applied to the entire URL and the popup when hovering over "foo" also shows the whole URL. (#170).

Finally, thank you for the really useful mode!


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