How to remove unwanted BR and P tags?
It is very annoying that WordPress adds P and BR tags even if I don’t place new lines or enters in some places!
<figure> <img src="work.jpeg" alt=""> <figcaption>Caption</figcaption> </figure>
The code above can NEVER be added because WordPress puts some
<br>tags everywhere. Any ideas on how to fix that?
Same with this:
Why does it put unwanted P tag inside? It is certainly WordPress bug and it creates code that is against W3C specification because of this.
- The topic ‘How to remove unwanted BR and P tags?’ is closed to new replies.