Wrong nesting in article body?
Posted: Wed 29. Jun 2005, 00:48
When i tried to validate this page http://www.altex.ee/index.php?id=23,24,0,0,1,0 (this is actually a test case i set up to find out where the error comes from) i got:
Line 22, column 127: end tag for element "P" which is not open
...ummary"><p>testing testing 123</p></p></center></td>
The page layout has no values entered at all, the template is empty and contains only {CONTENT}. If I add something after content tag like this {CONTENT}test it will be displayed after the troublesome </p>
<p>testing testing 123</p></p>test
so it seems be an error in the code that generates {CONTENT}. can anyone give me a clue how to get rid of it? im using phpwcms v1.2.3-DEV.
UPDATE:
ok, now i found out that it is the <p class="articleSummary"> closed in the wrong place.
<td valign="top" width="100%">
<center>
<a name="jump24"></a>
<h1>test</h1>
<p class="articleSummary">
<p>
testing testing 1234
</p>
</p>
</center>
</td>
The "<p>testing testing 1234</p>" really is in the summary so technically everything is correct but the outcome is erroneus. So this might be a bug. But if not please let me know what i'm doing wrong...
Thanks
Line 22, column 127: end tag for element "P" which is not open
...ummary"><p>testing testing 123</p></p></center></td>
The page layout has no values entered at all, the template is empty and contains only {CONTENT}. If I add something after content tag like this {CONTENT}test it will be displayed after the troublesome </p>
<p>testing testing 123</p></p>test
so it seems be an error in the code that generates {CONTENT}. can anyone give me a clue how to get rid of it? im using phpwcms v1.2.3-DEV.
UPDATE:
ok, now i found out that it is the <p class="articleSummary"> closed in the wrong place.
<td valign="top" width="100%">
<center>
<a name="jump24"></a>
<h1>test</h1>
<p class="articleSummary">
<p>
testing testing 1234
</p>
</p>
</center>
</td>
The "<p>testing testing 1234</p>" really is in the summary so technically everything is correct but the outcome is erroneus. So this might be a bug. But if not please let me know what i'm doing wrong...
Thanks