(fix): allow migration for desc with backslash (#1604)

Fixes #1602
This commit is contained in:
Jethro Kuan
2021-07-18 19:51:05 +08:00
committed by GitHub
parent 363dca1765
commit d0be7f3b2a

View File

@ -186,7 +186,8 @@ If the property is already set, replace its value."
:where (= file $s1)
:and (= level 0)] path))))
(set-match-data mdata)
(replace-match (org-link-make-string (concat "id:" node-id) desc))))))))
(replace-match (org-link-make-string (concat "id:" node-id)
(regexp-quote desc)))))))))
(provide 'org-roam-migrate)
;;; org-roam-migrate.el ends here