Browse Source

ox-html: Remove spurious newline at the end of inline source code

* 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 <clement.pit@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/108890>
Nicolas Goaziou 8 years ago
parent
commit
b7c144a104
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-html.el

+ 1 - 1
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))))