I have a number of heading elements (h1-h6) on my pages. When using the visual editor (Cornerstone) to change the heading (click the heading element, on the left side toolbar click the Edit button) it automatically wraps the content in a p tag. This results in a p tag inside of an h tag, which is semantically invalid html. Our SEO scanner (Moz Pro) complains about this. The only way I can keep this from happening is to enter html mode and remove the p tags. As soon as somebody else makes a visual edit they come right back.
How can this be solved? It feels like a bug to allow this to happen.