Re: [guile-lib] html->sxml does not decode entities in attributes

2025-02-04 Thread Developers list for Guile, the GNU extensibility library
Hi Tomas, On Tue, Feb 04 2025, Tomas Volf wrote: > automatically decoding now would lead to double decoding. Will a second decoding step for HTML entities, which is the most likely workaround, mess up strings like "a&b" or "bbb\"ccc'ddd" ? Kind regards Felix

[guile-lib] html->sxml does not decode entities in attributes

2025-02-04 Thread Tomas Volf
Hello, I think I found a bug in the htmlprag module in guile-lib. When parsing attributes, the values are not properly decoded: --8<---cut here---start->8--- scheme@(guile-user)> ,use (htmlprag) scheme@(guile-user)> (html->sxml "") $1 = (*TOP* (hr (@ (aaa "bb