summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-21 14:25:18 +0100
committerBastien Guerry <bzg@altern.org>2013-03-21 14:25:18 +0100
commit51233b8ae2e148d7d865ea367e284214a32ce340 (patch)
tree121315a7949f0cc0b276a4e93747aaae0974608f
parentfbb30a5e798590461853a6d4b6abf5abbcd121a1 (diff)
downloadorg-mode-51233b8ae2e148d7d865ea367e284214a32ce340.tar.gz
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.
-rw-r--r--lisp/ox-html.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index c119549..a615f41 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")