Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-01 10:28:38

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

eliminate <p> tag around the body of the article

How can I eliminate the wrapping of the body of an article inside a paragraph?
I mean, keeping the use textile option.

any idea?
thanks


what was that again…?

Offline

#2 2008-02-01 12:42:45

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: eliminate <p> tag around the body of the article

Start the first line of each paragraph with a blank space.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2008-02-01 16:08:39

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: eliminate <p> tag around the body of the article

mmm, that does work but… puts a space there (?).
I remember that the txp code could be hacked to eliminate that <p>
but I dunno where to look for it any more.


what was that again…?

Offline

#4 2008-02-01 16:29:43

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: eliminate <p> tag around the body of the article

Hacking the code so close to the new release will double your work.

You can disable textile and only allow linebreaks.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2008-02-01 16:55:38

feragnoli
Member
From: the hague
Registered: 2005-02-10
Posts: 150

Re: eliminate <p> tag around the body of the article

ok, thanks


what was that again…?

Offline

Board footer

Powered by FluxBB