Skip to content

Commit

Permalink
fix(elisp/org-html-export): don't convert spaces to tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Nov 25, 2016
1 parent d4b8d62 commit 41c9533
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elisp/org-html-export.el
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ contextual information."
(format "\n<pre class=\"src src-%s\"%s>%s</pre>" lang label code)))))))))
(setq org-confirm-babel-evaluate nil)

; don't convert spaces to tabs
(setq org-src-preserve-indentation t
org-edit-src-content-indentation 0)

(defun lean-extract-chapter-name (str)
(let ((num (string-to-number str)))
(cond ((= num 0) str)
Expand Down

0 comments on commit 41c9533

Please sign in to comment.