]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.
authorIhor Radchenko <yantar92@posteo.net>
Tue, 20 Feb 2024 09:44:30 +0000 (12:44 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 30 Mar 2024 19:30:22 +0000 (20:30 +0100)
(cherry picked from commit 937b9042ad7426acdcca33e3d931d8f495bdd804)

lisp/gnus/mm-view.el

index 3a7192092af692067126711d07bbcb2c9ecafada..109b6c17c2c86b8cd8c2d50e569562bc29acfdf6 100644 (file)
@@ -502,6 +502,7 @@ If MODE is not set, try to find mode automatically."
          (setq coding-system (mm-find-buffer-file-coding-system)))
        (setq text (buffer-string))))
     (with-temp-buffer
+      (setq untrusted-content t)
       (insert (cond ((eq charset 'gnus-decoded)
                     (with-current-buffer (mm-handle-buffer handle)
                       (buffer-string)))