emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/comint-mime 9cf131d 4/8: Disable LaTeX rendering by def


From: ELPA Syncer
Subject: [elpa] externals/comint-mime 9cf131d 4/8: Disable LaTeX rendering by default for now
Date: Mon, 18 Oct 2021 12:57:18 -0400 (EDT)

branch: externals/comint-mime
commit 9cf131d7a208b6a9a21bc8a9db046edbb655df17
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    Disable LaTeX rendering by default for now
    
    TeX can execute arbitrary code depending on the settings.  This needs
    some more thought.
---
 comint-mime.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/comint-mime.el b/comint-mime.el
index 04f53a6..ea1fa95 100644
--- a/comint-mime.el
+++ b/comint-mime.el
@@ -61,7 +61,8 @@ ignores this option altogether.")
   '(("^image/svg+xml\\>" . comint-mime-render-svg)
     ("^image\\>" . comint-mime-render-image)
     ("^text/html" . comint-mime-render-html)
-    ("^text/latex" . comint-mime-render-latex)
+    ;; Disable this by default until we are sure about the security 
implications
+    ;; ("^text/latex" . comint-mime-render-latex)
     ("^text\\>" . comint-mime-render-plain-text)
     ("." . comint-mime-render-literally))
   "Alist associating MIME types to rendering functions.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]