I've read all the tickets about p tags in archives, but I'm getting them on single post content templates. I'm also seeing br tags added on the content template to buttons that aren't using Toolset.
I'm building this Content Template with Beaver Builder.
The p tags are added to images.
The br tags are added to buttons that have nothing to do with Toolset. These br tags only appear on the Content Template and not on any other pages.
We have an existing report about this same thing, only a prerequisite for the problem is that you include a Types WYSIWYG field somewhere in the template.
Can you confirm if that is the case with your template?
Hi Nigel - Yes, there are some WYSIWIG fields on the template.
Do I need to change those to a different type of field? I'd prefer not to, if possible, because my non-techy client is using a Toolset Form to add his content to these fields and he really does need a WYSIWIG to get the formatting right.
From the internal tickets I can see that the developers took a look at this some time ago, concluded there was no easy fix and put it to one side.
I've updated the tickets to add this thread to remind them it is an active issue, but I can't say when it will be worked on again, and I'm sorry to say I don't have a solution for you.
Yes, with JS we can remove both
and <p> tags, but the solution won't be a final fix, it will rather be different hacks for each of the content templates that present this issue.
For that, I'll need to know what content templates present this issue and to have admin access in order to check if the custom JS code works. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **
I've found the same problem when updating a clients' site not being updated for a year. When I worked on it a year ago everything was fine. So the issue must have occured last year between April and November, as it seems.
I'm very much interested in being informed about the progress in this matter. A little strange it's so hard to solve since it once was working. I will put the js snippets in the content templates until further notice. But I expect a real solution
And why isn't it put under the "Known issues" section?