Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-18 23:07:30

psimsy
Member
From: Londinium
Registered: 2004-12-27
Posts: 13

Removing p-tags from txp:article

Is it possible to remove the p-tags that seem to automatically wrap excerpt and body in articles? I am looking to allow posts to flow as a single block without paras..

ta

Offline

#2 2006-04-18 23:16:18

textpress
Member
Registered: 2006-04-18
Posts: 10
Website

Re: Removing p-tags from txp:article

Do you use the textile markup at all? The easiest way to do this would be to either disable textile; however, I’ve removed it from my own textile class previously; Just look for the wrapping <p>...</p> tags in TextileThis()

(edited to display code properly. -Els)

Last edited by els (2006-04-19 15:01:20)

Offline

#3 2006-04-18 23:28:46

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Removing p-tags from txp:article

Please see the FAQ. It’s linked at the top of every forum page.


Alex

Offline

Board footer

Powered by FluxBB