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

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

[elpa] externals/ement ea6e577ea4 1/4: Fix: (ement-room-send-org-filter)


From: ELPA Syncer
Subject: [elpa] externals/ement ea6e577ea4 1/4: Fix: (ement-room-send-org-filter) Prevent subscripts
Date: Thu, 14 Sep 2023 12:58:07 -0400 (EDT)

branch: externals/ement
commit ea6e577ea48ac369850bb2064383e4c60d4aeaff
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Fix: (ement-room-send-org-filter) Prevent subscripts
    
    Fixes #217.
    
    Suggested-by: Phil Sainty <phil@catalyst.net.nz>
---
 README.org    | 1 +
 ement-room.el | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/README.org b/README.org
index 5a1f0d8ac6..207697bd06 100644
--- a/README.org
+++ b/README.org
@@ -312,6 +312,7 @@ Ement.el doesn't support encrypted rooms natively, but it 
can be used transparen
 
 + File event formatter assumed that file size metadata would be present (a 
malformed, e.g. spam, event might not have it).
 + Send correct file size when sending files/images.
++ Underscores are no longer interpreted as denoting subscripts when sending 
messages in Org format.  (Thanks to [[https://github.com/phil-s][Phil Sainty]].)
 
 ** 0.11
 
diff --git a/ement-room.el b/ement-room.el
index 97269d068d..1dbf8bf723 100644
--- a/ement-room.el
+++ b/ement-room.el
@@ -4267,6 +4267,7 @@ Then invalidate EVENT's node to show the image."
 (defvar org-export-with-toc)
 (defvar org-export-with-broken-links)
 (defvar org-export-with-section-numbers)
+(defvar org-export-with-sub-superscripts)
 (defvar org-html-inline-images)
 
 (declare-function org-element-property "org-element")
@@ -4314,6 +4315,7 @@ compatibility), and the result is added to the CONTENT as
                       (let ((org-export-with-toc nil)
                             (org-export-with-broken-links t)
                             (org-export-with-section-numbers nil)
+                            (org-export-with-sub-superscripts nil)
                             (org-html-inline-images nil))
                         (org-html-export-as-html nil nil nil 'body-only)))
                     (with-current-buffer "*Org HTML Export*"



reply via email to

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