summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2024-02-20 12:44:30 +0300
committerEli Zaretskii <eliz@gnu.org>2024-03-24 08:40:25 -0400
commit937b9042ad7426acdcca33e3d931d8f495bdd804 (patch)
treee8cbaa327a98541efaa799bf1967d9f2195db0c5
parentccc188fcf98ad9166ee551fac9d94b2603c3a51b (diff)
downloademacs-937b9042ad7426acdcca33e3d931d8f495bdd804.tar.gz
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.
-rw-r--r--lisp/gnus/mm-view.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 2e1261c4c9c..5f234e5c006 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -504,6 +504,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)))