forked from mirrors/org-mode
Make sure text before the first headline is in <p>.
This commit is contained in:
parent
87292441ab
commit
e1ed8cf2e9
|
@ -3,6 +3,8 @@
|
|||
* org-exp.el (org-export-as-html): Do not turn on the major mode
|
||||
if the buffer will be killed anyway.
|
||||
(org-get-current-options): Exclude the #+TEXT field.
|
||||
(org-export-as-html): Make sure text before the first headline is
|
||||
a paragraph.
|
||||
|
||||
* org-publish.el (org-publish-org-to): Tell the exporter that this
|
||||
buffer will be killed, so it is not necessary to do major mode
|
||||
|
|
|
@ -2938,6 +2938,8 @@ lang=\"%s\" xml:lang=\"%s\">
|
|||
(setq head-count 0)
|
||||
(org-init-section-numbers)
|
||||
|
||||
(org-open-par)
|
||||
|
||||
(while (setq line (pop lines) origline line)
|
||||
(catch 'nextline
|
||||
|
||||
|
|
Loading…
Reference in New Issue