From b7c144a104641c2680ec8bd1f3092698fcca038c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 28 Aug 2016 12:01:08 +0200 Subject: [PATCH] ox-html: Remove spurious newline at the end of inline source code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lisp/ox-html.el (org-html-inline-src-block): Do not call `org-html-format-code', which is meant to be used for source blocks only. Reported-by: Clément Pit--Claudel --- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index f60421190..f5f274159 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2533,7 +2533,7 @@ CONTENTS is nil. INFO is a plist holding contextual information." CONTENTS holds the contents of the item. INFO is a plist holding contextual information." (let ((lang (org-element-property :language inline-src-block)) - (code (org-html-format-code inline-src-block info)) + (code (org-element-property :value inline-src-block)) (label (let ((lbl (and (org-element-property :name inline-src-block) (org-export-get-reference inline-src-block info)))) -- 2.11.4.GIT