Hi all,

I noticed an issue today with the html-parser egg, where it does not seem to 
decode entities within an attribute of an element, I have included an example 
below.

#;14> (html->sxml "<div data-foo=\"&quot;\">")
(*TOP* (div (@ (data-foo "&quot;"))))

Expected: (*TOP* (div (@ (data-foo "\""))))

I was wondering if anyone could provide some thoughts as to why this might be 
happening? I have taken a look at the html-parser egg but have not seen much 
(but then this goes far beyond my knowledge of scheme!)

DerGuteMoritz mentioned on IRC that htmlprag behaves the same way.

Any help you can give would be appreciated greatly!

Thanks,
Philip Kent
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to