ox-ascii: Small fix to items that do not start with a paragraph
commit0880fc580eedb1d2266817932165ecf3f6cbdd73
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 6 Nov 2017 22:07:17 +0000 (6 23:07 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 6 Nov 2017 22:07:17 +0000 (6 23:07 +0100)
tree362cb7cc476abfe7b6a6d1ba12de3a85581aa254
parent7000ed9ee0c333245e78157109fb86c627ec1c29
ox-ascii: Small fix to items that do not start with a paragraph

* lisp/ox-ascii.el (org-ascii-item): Use better heuristics to
  determine if contents should follow bullet or start a new line.

Contents follow bullet when the first contributing line is
a paragraph.  As a consequence, the following snippet

    -
      #+html: ...
      This is a paragraph.

is exported as

    - This is a paragraph.

instead of

    -
      This is a paragraph.

previously.
lisp/ox-ascii.el