Textarea newline behaviour in Wordpress
Have you ever wondered why the textarea field adds <br>s in your frontend HTML instead of a paragraph tag?
It turns out this is the default behaviour and it's a rather common pitfall for many WordPress newcomers.
Here's the deal:
Hit Enter twice for a paragraph p.
Hit it just once for a regular single line break <br>.
You can also disable this behaviour via an wpautop filter.