If a tag is used in a header, then it will overlap other text if
- the other text is a new line directly below it
- the other text is other text from the header and the header has wrapped to a new line in the editor
There’s no reason the big purple pill is necessary around tag text, but if it is there, it needs some adjustments for use cases where it appears in headers.