Jelajahi Sumber

ox-publish: Use `org-strip-quotes'

* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Use
  `org-strip-quotes'.
Nicolas Goaziou 6 tahun lalu
induk
melakukan
67d25049ed
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      lisp/ox-publish.el

+ 2 - 2
lisp/ox-publish.el

@@ -1304,8 +1304,8 @@ the file including them will be republished as well."
 		    (let* ((value (org-element-property :value element))
 			   (filename
 			    (and (string-match "\\`\\(\".+?\"\\|\\S-+\\)" value)
-				 (let ((m (org-unbracket-string
-					   "\"" "\"" (match-string 1 value))))
+				 (let ((m (org-strip-quotes
+					   (match-string 1 value))))
 				   ;; Ignore search suffix.
 				   (if (string-match "::.*?\\'" m)
 				       (substring m 0 (match-beginning 0))