[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] ox: fix comment exported as a blank line
From: |
Phil Estival |
Subject: |
[PATCH] ox: fix comment exported as a blank line |
Date: |
Wed, 1 Jun 2022 07:30:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 |
* lisp/ox.el (org-export--skip-p): no longer export single-line
comments as blank lines which did break paragraphs in two.
TINYCHANGE
---
lisp/ox.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/ox.el b/lisp/ox.el
index 9a8e63046..2c50fba0c 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -1756,7 +1756,7 @@ not exported."
(before (or (org-element-property :post-blank previous) 0))
(after (or (org-element-property :post-blank datum) 0)))
(when previous
- (org-element-put-property previous :post-blank (max before after 1))))
+ (org-element-put-property previous :post-blank (max before after 0))))
t)
(clock (not (plist-get options :with-clocks)))
(drawer
--
2.31.GIT
- [PATCH] ox: fix comment exported as a blank line,
Phil Estival <=