Markup: made the headings eat up the trailing line break, fixed up lists behavior when prepended by an empty line