Reviewing merge request #14: Adds support for HTML5 block-level elements

Just extends the list of block-level elements in markdown/utils.py to include twelve more from HTML5. In projects using markdown, I've been running into the problem of having html5 block-level elements wrapped in paragraphs since markdown doesn't recognize them. Although people are free to edit that particular section of code, it would make sense to support the new standard by default, especially since doing so should not cause any problems for people using HTML4.

Commits that would be merged:

Version 2
  • Version 1
  • Version 2
  • 80aa9a2
  • 92e47cd
  • Added support for html5 block level elements.

Showing 80aa9a2-92e47cd

Comments

This was just committed on my github account. We’re using github now for the project. I may or may not update this repo from that one.

→ State changed from Open to Rejected

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository