From 18f6c70ca384e61c3a2e19b043c5a314534ec395 Mon Sep 17 00:00:00 2001 From: Jason Blevins Date: Sat, 2 Feb 2013 10:31:02 -0500 Subject: [PATCH] Strip properties from returned wiki link names --- markdown-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown-mode.el b/markdown-mode.el index 49ca716..4a35bd5 100644 --- a/markdown-mode.el +++ b/markdown-mode.el @@ -2858,8 +2858,8 @@ be available via `match-string'." The location of the link component depends on the value of `markdown-wiki-link-alias-first'." (if markdown-wiki-link-alias-first - (or (match-string 4) (match-string 2)) - (match-string 2))) + (or (match-string-no-properties 4) (match-string-no-properties 2)) + (match-string-no-properties 2))) (defun markdown-convert-wiki-link-to-filename (name) "Generate a filename from the wiki link NAME. -- 2.11.4.GIT