mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 14:02:51 +00:00
org-freemind.el: Fix bug when converting links
* org-freemind.el (org-freemind-convert-links-from-org): Replace literally to prevent errors when replacing with string containing backslashes. Thanks to Martin Beck for reporting this.
This commit is contained in:
parent
65e0b5bccd
commit
8e307a8ef2
|
@ -334,7 +334,7 @@ MATCHED is the link just matched."
|
|||
"\\[\\[\\(.*?\\)]\\[\\(.*?\\)]]"
|
||||
;;"<a href=\"\\1\">\\2</a>"
|
||||
'org-freemind-convert-links-helper
|
||||
fm-str)))
|
||||
fm-str t t)))
|
||||
|
||||
;;(org-freemind-convert-links-to-org "<a href=\"http://www.somewhere/\">link-text</a>")
|
||||
(defun org-freemind-convert-links-to-org (fm-str)
|
||||
|
|
Loading…
Reference in a new issue