Hello,
I have just completed a rather large project which involved data that was less than optimal html wise. Our biggest problem currently is that we have a structure like this:
<ul id="postblockinfo">
<li>List One</li>
<li>List Two</li>
<li>List Three</li>
<li>List Four</li>
<li>List Five</li>
</ul>
Text that is suppose to be here and formatted correctly.
<ul> <li>Text that is suppose to be void of html tags around it but has them<br /> <br /> More more more <br /> <br /> and more more more <br /> <br /> More before it ends this way </li> </ul>
The first list with id postblockinfo is correct. It is also the only list that should be in the html. Any list html after the first list needs to be completely stripped from the content.
My question to you all, is what is the best way to achieve this?