If you create a heading as such:
and then have
Clicking the "edit" link for "Section 1" brings up an editor for "Section 2",
not "Section 1".
I found this on an article and removed fixed the offending formatting, but
recreated it on my user page: