Awkee / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Last list element interpreted as paragraph #246

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. start with '<ol><li>foo</li></ol><ol><li>bar</li></ol>'
2. convert to markdown with pandoc
3. convert back to html

The markdown should have two bare lists. They are instead paragraph lists.

using pandoc 1.5.1.1 with ghc 6.12.3

There is no documented syntax to disambiguate separate lists. Perhaps an 
escaped line break?:
1. foo
2. bar
\
1. eat
2. sleep

Original issue reported on code.google.com by daniel.b...@gmail.com on 3 Jul 2010 at 10:50

GoogleCodeExporter commented 9 years ago
looking at closed issues, this is related to
  Ability to have two consecutive lists 
  http://code.google.com/p/pandoc/issues/detail?id=77
Maybe inserting a blank comment in between consecutive lists is a better 
approach

Original comment by daniel.b...@gmail.com on 3 Jul 2010 at 11:08

GoogleCodeExporter commented 9 years ago
Yes, I think that's the best way.

Original comment by fiddloso...@gmail.com on 21 Jul 2010 at 4:12