From 51233b8ae2e148d7d865ea367e284214a32ce340 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 21 Mar 2013 14:25:18 +0100 Subject: [PATCH] ox-html.el (org-html-indent): Default to nil * ox-html.el (org-html-indent): Default to nil, as non-nil can break indentation of source code blocks. Thanks to Vladimir Lomov for reporting this. --- lisp/ox-html.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index c11954918..a615f4166 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -518,8 +518,9 @@ returned as-is." :value-type (string :tag "Format string")) :options '(bold code italic strike-through underline verbatim)) -(defcustom org-html-indent t - "Non-nil means to indent the generated HTML." +(defcustom org-html-indent nil + "Non-nil means to indent the generated HTML. +Warning: non-nil may break indentation of source code blocks." :group 'org-export-html :version "24.4" :package-version '(Org . "8.0") -- 2.11.4.GIT