stop generating nested headings

`## my h2` currently generates `<h2><h2 id="my_h2">my h2</h2></h2>`. This fix simply generates `<h2>my h2</h2>`