make wpautop ignore code tag as is does pre tag
-
I make extensive use of code tags on my personal site. wpautop adds br tags to each line, somehow doubling the line space.
If I change the
code
tags topre
tags, all is well. However, over the years I’ve developed the habit of using thecode
button at the top of the editor, and I don’t want to change my workflow, I want to make the tool behave as I’d like, if possible.I’m in unfamiliar waters. Is there a way to cause wpautop to stay out of
code
tags, as it already does withpre
tags?The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.