Browse Source

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.
Bastien Guerry 12 years ago
parent
commit
51233b8ae2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lisp/ox-html.el

+ 3 - 2
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")