I created a sales page, and wanted "Buy Now" buttons to jump to main order area at bottom of page. HTML code for that is
<a href="#order">button</a>, and then "name" the destination with
WordPress considered everything after the name link to be part of the link. So like a good little CSS page, I put a tag terminator in there,
<a name="order" />. WordPress still didn't like it.
So I finally put in a full-fledged termination with
<a name="order"> </a> Problem solved! Hope that's useful to somebodies.