Has anyone done anything to address the RTE editor adding empty tags, for example we see <h4></h4> and <h4> </h4> show up a lot in our site. Is there any kinda of HTML Tidy that can be run after an edit is made? We're currently on 6.3 and have seen this in both the Classic and Touch UI.
If you set the RTE, the data is stored under the page and the tags are not empty. For example - look at this example.
The RTE data is stored under here:
You should not have to introduce use of any lib to get HTML tags working with the RTE.
I'm not sure if there are other empty tags on our site as well.
We've been reviewing our site for accessibility(WCAG 2.0) and that's what brought up the empty headers tags issue as it shows up in some of the accessibility reports we're looking at. We recently upgraded to 6.3 from 6.1, and from what I can see in the report it was an issue in both versions.
This is indeed a strange issue and one that i have not seen before. It is not working like a normal server should be working. If you try using the text component on a fresh instance - you will the RTE storing tags properly and without this issue.
I am going to check internally to see if this issue has come up before.
Talking with the Support team about this. They said its quite possible you need a patch to fix this. I recommend opening a Support ticket. This is not standard functionality that a community member can help you with if you require a hotfix.