Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-02 19:10:12

EVRAMP
New Member
Registered: 2006-09-30
Posts: 3

TXP doesn't make a Valid page [solved]

pls post here, when the TXP doesn’t make a valid page and where is the error.
I’ve found one problem when creating <pre>&lt;ul&gt;</pre> and it is inserted into <pre>&lt;p&gt;</pre> like this:
<pre>&lt;p&gt;Hi, i want to say:
&lt;ul&gt; &lt;li&gt;TXP is cool&lt;/li&gt; &lt;li&gt;but sometimes it makes a not valid code&lt;/li&gt;
&lt;/ul&gt;
&lt;/p&gt;</pre>

This is not XHTML valid.

The solution of this is to learn TXP to make <pre>&lt;/p&gt;</pre> before making <pre>&lt;ul&gt;</pre>

Last edited by EVRAMP (2006-10-05 19:10:39)

Offline

#2 2006-10-02 20:43:30

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

Re: TXP doesn't make a Valid page [solved]

It’s Textile. Also, why aren’t you using the asterisk for bullets – ex:

<pre>
<code>
Hi, i want to say

* TXP is cool * but sometimes.. (w/o the space before the *) </code> </pre>

You need to make sure you have a blank line between paragraphs and the start and end of lists too.

Last edited by jm (2006-10-02 20:48:20)

Offline

#3 2006-10-05 19:09:33

EVRAMP
New Member
Registered: 2006-09-30
Posts: 3

Re: TXP doesn't make a Valid page [solved]

cool, thanx

Offline

Board footer

Powered by FluxBB