branch: elpa/gnosis
commit 1994335849d1aaeef2c19ae47f5fc5f3c85fc354
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    cloze-check: Use gnosis-trim-quotes.
---
 gnosis.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnosis.el b/gnosis.el
index 5ddb3ba9a5..f19e321ddd 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -834,7 +834,7 @@ CHAR: separator for mc-cloze, default to 
`gnosis-mc-cloze-separator'"
   (cl-every (lambda (cloze)
               (string-match-p
                (regexp-quote
-               (string-remove-prefix "\"" (string-remove-suffix "\"" cloze)))
+               (gnosis-trim-quotes cloze))
                sentence))
             clozes))
 ;; TODO: use a better name to indicate that it also removes hints from STRING.

Reply via email to