Fix bug in HTML export of code blocks with starting blank lines
commite22ee8b8a39933c8d662894a3b96b07337c4f536
authorthibault <thibault.marin@gmx.com>
Sun, 3 Dec 2017 23:42:13 +0000 (3 17:42 -0600)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 4 Dec 2017 07:24:02 +0000 (4 08:24 +0100)
treee089d852b5a082c13bbabc0bdd75bb27c072ed31
parent037db00f40b6b00c05f32e13fd5bf61f2d1b04cc
Fix bug in HTML export of code blocks with starting blank lines

* lisp/ox-html.el (org-html-do-format-code): Preverse starting blank
  lines when splitting code lines (use `split-string' instead of
  `org-split-string').

  (org-html-fontify-code): Preserve starting blank lines in returned
  code string.
lisp/ox-html.el