mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
markdown-ts--fontify-bare-uri: Don't give bare URLs a mailto: prefix
* lisp/textmodes/markdown-ts-mode.el (markdown-ts--fontify-bare-uri): Don't give bare URLs a mailto: prefix (bug#81703). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
0281922783
commit
5919ac3fac
|
|
@ -1784,7 +1784,7 @@ Skip matches already inside tree-sitter link or autolink nodes."
|
|||
(get-text-property uri-start 'button))
|
||||
(markdown-ts--make-link-button
|
||||
uri-start uri-end
|
||||
(if (eq uri-start 0)
|
||||
(if (eq re markdown-ts--bare-url-regexp)
|
||||
uri
|
||||
(concat "mailto:" uri))))))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue