diff --git a/org-web-tools.el b/org-web-tools.el index 0273e76..ae77ef2 100644 --- a/org-web-tools.el +++ b/org-web-tools.el @@ -196,7 +196,7 @@ When SELECTOR is non-nil, the HTML is filtered using (sleep-for org-web-tools-pandoc-sleep-time) (cl-incf checked))) (if (and (zerop (process-exit-status process)) - (not (string-match "--no-wrap is deprecated" (buffer-string)))) + (not (string-match-p (rx "--no-wrap " (or "is deprecated" "has been removed")) (buffer-string)))) "--no-wrap" "--wrap=none"))))