The list of block-level elements that prevent Markdown expansions inside them is hardcoded; see line 590 and following.
This list does not include <section>
elements by default (when Markdown was created, HTML5 was distant future), but as you can see, you can easily add other HTML tags to that list.