Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-07-28 15:05:18

progre55
Member
Registered: 2006-05-02
Posts: 668

Quick Article Question

When I have a table as the only thing in an article —- it puts before the table <P></P><br><br> —-

I think I knew (but forgot) how you can remove it —-

progre55

Offline

#2 2010-07-28 15:14:03

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Quick Article Question

progre55 wrote:

When I have a table as the only thing in an article —- it puts before the table <P></P><br><br> —-

Please, be more specific. Your code is? Textile doesn’t add empty paragraphs, plus it doesn’t use HTML syntax, but self-closing XHTML syntax.

For example:

|col|col|col|
|col|col|col|

Produces:

<table>
	<tr>
		<td>col</td>
		<td>col</td>
		<td>col</td>
	</tr>
	<tr>
		<td>col</td>
		<td>col</td>
		<td>col</td>
	</tr>
</table>

Otherwise, if you are using your own HTML code and need to escape Textile, then you can use either the Textile settings in the left column or Textile syntax:

==inline escaping==
notextile. block escaping
notextile.. long block

Offline

#3 2010-07-28 15:18:33

net-carver
Archived Plugin Author
Registered: 2006-03-08
Posts: 1,648

Re: Quick Article Question

Maybe those <br>s are from your article form (default or otherwise)?


Steve

Offline

#4 2010-07-28 15:19:41

progre55
Member
Registered: 2006-05-02
Posts: 668

Re: Quick Article Question

Thanks Gocom and Net-Carver —- it was the textile adding the code —- I needed to escape Textile and that did the trick —- thanks for the quick replies —-

progre55

Offline

Board footer

Powered by FluxBB