Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-05-24 15:22:58

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Print article body without <code><p></code> tags

It’s not that the body is wrapped in <p> tags, each paragraph is.

You can turn Textile off (Advanced options in the write screen, or for all articles in Admin > preferences), but then you won’t have all other Textile formatting as well. You can also start a paragraph with a space, but you would have to do that with every paragraph.

Offline

#2 2006-05-24 23:52:21

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Print article body without <code><p></code> tags

$thisarticle['body'] only contains the textpattern table’s Body_html field.

Offline

Board footer

Powered by FluxBB