Section 1 edit
This section heading is normal
Section 2 edit
This section heading has one trailing space
Section 3 edit
This section heading has a trailing hidden comment
Section 4 edit
This section heading has one trailing space and also a hidden comment
Section 5 edit
This section heading has an embedded {{anchor|Sec. 5}}
before its text
Section 6 edit
This section heading has an embedded {{anchor|Sec. 6}}
after its text
==Section 7==
This section heading has a trailing {{anchor|Sec. 7}}