RFC: Remove <p> Paragraph Tags between <li> Tags
Deirdre Saoirse Moen
deirdre at deirdre.net
Sat Nov 23 19:00:22 EST 2013
On Nov 23, 2013, at 1:42 PM, Mariusz Wojcik <mdickie007 at gmail.com> wrote:
> <li>[Home](/)</li>
> <li>[About Me](/about-me.html)</li>
> <li>[Projects](/projects.html)</li>
>
> creates
>
> <p><li><a href="/">Home</a></li>
> <li><a href="/about-me.html">About Me</a></li>
> <li><a href="/projects.html">Projects</a></li></p>
>
> Is this a bug or a feature? I think it shouldn't be that way because the <p>
> Tags around `li`s are illegal.
Why are you doing half-Markdowny?
* [Home](/)
* [About Me](/about-me.html)
* [Projects](/projects.html)
generates
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about-me.html">About Me</a></li>
<li><a href="/projects.html">Projects</a></li>
</ul>
...which is legal and expected.
I think being more idiomatic is to your benefit here.
Deirdre
http://deirdre.net/
More information about the Markdown-Discuss
mailing list