[Closure-devel] Bug in html parsing

Christopher Laux ctlaux at gmail.com
Sun Jun 8 13:47:51 UTC 2014


Hi,

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?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/closure-devel/attachments/20140608/1ae4966d/attachment.html>


More information about the closure-devel mailing list