lua-users home
lua-l archive

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

On Fri, May 24, 2013 at 10:42 AM, Rob Kendrick <> wrote:
One of the strengths of libhubbub is that it parses good and bad HTML.
It follows the HTML5 spec, which essentially specificies how MSIE parses
broken HTML.

It must have lots of if statements ;)

Which is precisely why it sounds like a good industrial solution; I don't doubt it can be done well with LPeg but there would need to be hundreds of tests before it would be a contender.