If your S&R goes sideways
and leaves a malformed section, you could end up with anything
if you let Sigil fix
the trouble before exiting..
always save before doing a global S&R. Discard (and reload the document) is your friend if you then find yourself over the cliff