Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-30 05:14:22

bastianmayhem
New Member
Registered: 2006-12-30
Posts: 2

[textile] how to get rid of p-tags in comment_message ?

all my comments are saved as:

<p> comment </p>

how to get raw text in there ?

Offline

#2 2006-12-30 09:53:17

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: [textile] how to get rid of p-tags in comment_message ?

The comment text is wrapped in paragraph because it is semantically correct. However, etz_striptags should do it for you.

Offline

#3 2006-12-31 13:41:32

bastianmayhem
New Member
Registered: 2006-12-30
Posts: 2

Re: [textile] how to get rid of p-tags in comment_message ?

thanks man

have to wrap em into q-tags

Last edited by bastianmayhem (2006-12-31 13:41:54)

Offline

#4 2007-01-03 22:29:17

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

Re: [textile] how to get rid of p-tags in comment_message ?

have to wrap em into q-tags

blockquote would be the correct tag to use. p tags are valid inside a blockquote.


Alex

Offline

Board footer

Powered by FluxBB