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 năm trước cách đây
mục cha
commit
51233b8ae2
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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")