aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorIhor Radchenko2024-02-20 12:47:24 +0300
committerEli Zaretskii2024-03-24 08:40:48 -0400
commit6f9ea396f49cbe38c2173e0a72ba6af3e03b271c (patch)
treefadae4916375ceef762715fdbd450a641a4b54ff /java
parent937b9042ad7426acdcca33e3d931d8f495bdd804 (diff)
downloademacs-6f9ea396f49cbe38c2173e0a72ba6af3e03b271c.tar.gz
emacs-6f9ea396f49cbe38c2173e0a72ba6af3e03b271c.zip
org-latex-preview: Add protection when `untrusted-content' is non-nil
* lisp/org/org.el (org--latex-preview-when-risky): New variable controlling how to handle LaTeX previews in Org files from untrusted origin. (org-latex-preview): Consult `org--latex-preview-when-risky' before generating previews. This patch adds a layer of protection when LaTeX preview is requested for an email attachment, where `untrusted-content' is set to non-nil.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions