branch: elpa/gnosis commit 186683476920541c3b072e0d5fe85450929b7cd4 Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
[fix] cloze-create: Use gnosis-center-string to adjust for links. + gnosis-center-string only keeps with desc of links. --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index d0cae61826..e4170aa6c8 100644 --- a/gnosis.el +++ b/gnosis.el @@ -421,7 +421,7 @@ This will not be applied to sentences that start with double space." (cl-assert (listp clozes) nil "Adding clozes: Clozes need to be a list.") (let ((cloze-string (or cloze-string gnosis-cloze-string))) (with-temp-buffer - (insert str) + (insert (gnosis-center-string str)) (dolist (cloze clozes) (let* ((cloze-text (gnosis-trim-quotes cloze)) (replacement (concat