diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index ca744b932..ee2cdfd16 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -587,6 +587,10 @@ link when storing any type of external link type in an Org file, not just =id:= links. ** New and changed options +*** =.avif= images are not recognized in ~org-html-inline-image-rules~ + +In =ox-html=, =.avif= image links are now inlined by default. + *** New option ~org-beamer-frame-environment~ The new option defines name of an alternative environment to be used diff --git a/lisp/ox-html.el b/lisp/ox-html.el index baca21014..de421ceda 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -861,15 +861,15 @@ link to the image." :type 'boolean) (defcustom org-html-inline-image-rules - `(("file" . ,(regexp-opt '(".jpeg" ".jpg" ".png" ".gif" ".svg" ".webp"))) - ("http" . ,(regexp-opt '(".jpeg" ".jpg" ".png" ".gif" ".svg" ".webp"))) - ("https" . ,(regexp-opt '(".jpeg" ".jpg" ".png" ".gif" ".svg" ".webp")))) + `(("file" . ,(regexp-opt '(".jpeg" ".jpg" ".png" ".gif" ".svg" ".webp" ".avif"))) + ("http" . ,(regexp-opt '(".jpeg" ".jpg" ".png" ".gif" ".svg" ".webp" ".avif"))) + ("https" . ,(regexp-opt '(".jpeg" ".jpg" ".png" ".gif" ".svg" ".webp" ".avif")))) "Rules characterizing image files that can be inlined into HTML. A rule consists in an association whose key is the type of link to consider, and value is a regexp that will be matched against link's path." :group 'org-export-html - :package-version '(Org . "9.5") + :package-version '(Org . "9.7") :type '(alist :key-type (string :tag "Type") :value-type (regexp :tag "Path")))