Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-07 13:11:08

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Textile in comments as of 4.0.2

TXP 4.0.2 applies more of Textile to comments than previous versions. Now, so far I’ve had to add <p> elements in the comment form so that that whole comment was enclosed in them.

What do I do now when new comments bring their own <p> elements and old ones still need them in the form?

Last edited by andreas (2005-11-07 13:11:41)

Offline

#2 2005-11-07 13:55:38

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Textile in comments as of 4.0.2

Now, so far I’ve had to add <p> elements in the comment form so that that whole comment was enclosed in them.

Use a div for this purpose.

Offline

#3 2005-11-07 14:06:31

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Textile in comments as of 4.0.2

Ok, but the problem remains that the old comments will be enclosed directly in the div whereas the new ones will have p’s around them.

Or am I missing something?

Offline

#4 2005-11-07 15:09:17

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Textile in comments as of 4.0.2

If you add div to the comment-form this is what you’ll get:

old style: <div> stuff <br /><br />stuff</div>
new style: <div><p> stuff </p><p> stuff</p></div>

I don’t see a problem with either or having both. Am I missing something?

Offline

#5 2005-11-07 15:19:26

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: Textile in comments as of 4.0.2

Ok, I see. I just thought there was a way withouth having to alter my stylesheet. But it seems I’m going to have to do that.

Offline

Board footer

Powered by FluxBB