bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-15 Thread Maxim Cournoyer
Hi Tomas, Tomas Volf <~@wolfsden.cz> writes: > Hi, > > Maxim Cournoyer writes: > >> Tomas, is it a fix you'd be interested in contributing? Otherwise, I'll >> get to it but my hands are rather full at the moment :-). > > To quote myself from the other thread: > >> Probably not. I have spent 20

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-09 Thread Tomas Volf
Hi, Maxim Cournoyer writes: > Tomas, is it a fix you'd be interested in contributing? Otherwise, I'll > get to it but my hands are rather full at the moment :-). To quote myself from the other thread: > Probably not. I have spent 20 minutes staring into the file and do not > really have any

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-07 Thread Maxim Cournoyer
Hi, David Pirotte writes: > Hi Maxim, > Thomas, > >> But this here could well be considered a bug. So perhaps something >> we could do is fix this correctly, and bump at least the minor digit >> in our version (we're still in an unstable 0 version (last one was >> 0.2.8.1), so technically we do

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-06 Thread David Pirotte
Hi Maxim, Thomas, > But this here could well be considered a bug. So perhaps something > we could do is fix this correctly, and bump at least the minor digit > in our version (we're still in an unstable 0 version (last one was > 0.2.8.1), so technically we don't promise stability yet (perhaps > n

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-06 Thread Maxim Cournoyer
Hi Tomas, [...] > It already modifies the raw value for regular HTML text: > > scheme@(htmlprag)> (html->sxml "a&b") > $10 = (*TOP* "a&b") > scheme@(htmlprag)> (sxml->html '(*TOP* "a&b")) > $13 = "a&b" > > > I now noticed this also affect encoding: > > scheme@(htmlprag)> (sxml->html '(*TOP* (a (@

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-04 Thread Tomas Volf
Maxim Cournoyer writes: > Hi Tomas, > > Thank you for reporting this issue. > > Tomas Volf <~@wolfsden.cz> writes: > >> writes: >> >>> On Sat, Feb 01, 2025 at 09:10:04PM +0100, Tomas Volf wrote: Hello, I think I found a bug in the htmlprag module in guile-lib. When parsing

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-04 Thread Tomas Volf
David Pirotte writes: > HACKING > INSTALL > NEWS > README http://git.savannah.nongnu.org/cgit/guile-lib.git/tree/README > > all do mention, in their header [HACKING as an example]: > > Guile-Lib - HACKING > ===

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-03 Thread Maxim Cournoyer
Hi Tomas, Thank you for reporting this issue. Tomas Volf <~@wolfsden.cz> writes: > writes: > >> On Sat, Feb 01, 2025 at 09:10:04PM +0100, Tomas Volf wrote: >>> >>> Hello, >>> >>> I think I found a bug in the htmlprag module in guile-lib. When parsing >>> attributes, the values are not proper

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-02 Thread David Pirotte
Hello Thomas, > I did not. I did not find a "how to report bugs" section on > guile-lib's website HACKING INSTALL NEWS README http://git.savannah.nongnu.org/cgit/guile-lib.git/tree/README all do mention, in their header [HACKING as an example]:

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-02 Thread Tomas Volf
writes: > On Sat, Feb 01, 2025 at 09:10:04PM +0100, Tomas Volf wrote: >> >> 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--- >> schem

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-01 Thread tomas
On Sat, Feb 01, 2025 at 09:10:04PM +0100, Tomas Volf wrote: > > 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

bug#75998: [guile-lib] html->sxml does not decode entities in attributes

2025-02-01 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 "b