bhollis / maruku

A pure-Ruby Markdown-superset interpreter (Official Repo).
MIT License
502 stars 80 forks source link

Fix #117: Treat section as a block-level tag. #119

Closed prasanna closed 10 years ago

prasanna commented 10 years ago

Here's my attempt to fix the issue. Added a spec to boot. Let me know what you think. I suspect other elements need to become similarly block-level too. Here's a list of HTML 5 block-level elements: http://www.whatwg.org/specs/web-apps/2007-10-26/multipage/section-documents0.html#block-level0

coveralls commented 10 years ago

Coverage Status

Coverage decreased (-1.02%) when pulling 5d8c28fddb068d5898ce00479c1698ea1f45e839 on prasanna:fix_117_make_section_block_tag into c35db0cfa637b7d0a9355acef4f88e618cdd66c6 on bhollis:master.

bhollis commented 10 years ago

Merged manually. Thanks!