Closed GoogleCodeExporter closed 9 years ago
If I'm not mistaken, that's not valid HTML. The inner <ol>...</ol> sublist
needs to
be within a <li>, like so:
<ol>
<li>outer 1</li>
<li>
<ol>
<li>inner 1</li>
<li>inner 2</li>
</ol>
</li>
<li>outer 2</li>
</ol>
If you don't believe me, try running your HTML through w3c's validator.
Original comment by fiddloso...@gmail.com
on 8 Feb 2010 at 5:24
Ok, that may be true - but that was generated by google docs.
I'll go find their issue tracker ;)
Original comment by cas...@gmail.com
on 11 Feb 2010 at 4:01
It's no wonder people get this wrong. Look at W3C's example:
http://www.w3.org/TR/REC-html40/struct/lists.html#h-10.2
Original comment by cas...@gmail.com
on 11 Feb 2010 at 4:04
Well, since pandoc wants to be as permissive as possible, I think the thing to
do is to
change it so that it interprets an <ol>..</ol> inside a list as a
<li><ol>...</ol></li>.
That way it won't matter if people make this mistake. I can't see any downside
to this.
Original comment by fiddloso...@gmail.com
on 11 Feb 2010 at 6:04
This issue was closed by revision r1836.
Original comment by fiddloso...@gmail.com
on 12 Feb 2010 at 2:47
Original issue reported on code.google.com by
cas...@gmail.com
on 8 Feb 2010 at 3:56