diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index c82c642ef..88e572084 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -455,6 +455,7 @@ export back-end currently used."
(not org-html-use-infojs)
(and (eq org-html-use-infojs 'when-configured)
(or (not (plist-get exp-plist :infojs-opt))
+ (string= "" (plist-get exp-plist :infojs-opt))
(string-match "\\"
(plist-get exp-plist :infojs-opt)))))
(let* ((template org-html-infojs-template)