[Closure-devel] Bug in html parsing
bhyde at pobox.com
Sun Jun 8 15:16:46 UTC 2014
Ah, the joys of HTML - see, for example: http://stackoverflow.com/questions/9852312/list-of-html5-elements-that-can-be-nested-inside-p-element
On Jun 8, 2014, at 9:47 AM, Christopher Laux <ctlaux at gmail.com> wrote:
> I think I've found a bug in closure. If I execute
> (chtml:parse "<small><p>test1</p><p>test2</p></small>" (chtml:make-lhtml-builder))
> > (:HTML NIL (:HEAD NIL)
> (:BODY NIL (:SMALL NIL) (:P NIL (:SMALL NIL "test1")) (:P NIL "test2")))
> I get that incorrect parse tree. The example is taken from a real website and the same happens inside the entire page. That happens both with the current git version and the quicklisp version (which might just be the same one).
> Any help?
> Closure-devel mailing list
> Closure-devel at common-lisp.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the closure-devel