Good HTML parser needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

The fact is that I have a site that allow users to post hypertext articles.
However, I saw that sometimes, because of their careless input,
the articles is not rendered correctly.

I want to know whether there are some good HTML parsers written in PHP.

That is,
the parser checks whether html tags like table, tr, td, div, dt, dl, dd,
script, ul,
li, span, h1, h2, etc. are nested correctly. If any tags not matched, just
remove them.

Any suggection is greatly appreciated.

-- 
Regards,
Shelley

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux