Browse Source

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

* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Use
  `org-strip-quotes'.
Nicolas Goaziou 10 months ago
parent
commit
67d25049ed
1 changed files with 2 additions and 2 deletions
  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))