I tried your input with the latest pandoc version (1.9.4.5). It works
fine. So apparently the bug you are noticing got fixed somewhere between
1.5.1.1 and now. Why not upgrade? Your version is from early 2010, and
there have been many, many improvements since then.
On Friday, November 9, 2012 12:30:36 PM UTC-8, Aaron Bohannon wrote:
> Hi, consider this rst input file::
> Hello World
> ===========
> This is some text.
> This is some text.
> Hello World
> ===========
> This is some text.
> This is some text.
> Pandoc (v1.5.1.1) converts it to this HTML file::
> <p
> >Hello World ===========</p
> ><p
> >This is some text.</p
> ><p
> >This is some text.</p
> ><div id="hello-world"
> ><h1
> >Hello World</h1
> ><p
> >This is some text.</p
> ><p
> >This is some text.</p
> ></div
> Why is the first heading not parsed as such?
> - Aaron