Hi Neil, Brilliant! I'm using the version which is bundled with the guile-lib 0.2.6.1 - https://www.nongnu.org/guile-lib/ for website, https://download.savannah.nongnu.org/releases/guile-lib/ for download.
I haven't tried using a different version than this. I can also see from the header that this version was `forked` (I'm not sure if that's the best way to put it) and built into guile-lib in 2004. If trying a different version of htmlprag is a good idea I can give that a go too. Re: porting html-parsing and generally working with RnRS again, that sounds like a good project. As it happens, when I was searching around for more info about htmlprag I came across html-parsing, and I thought that maybe it could drop easily into Guile but a glance at the code confirmed this wasn't to be. It looks like a great library. Cheers, Kenan On 5/9/19 12:33 am, Neil Van Dyke wrote: > Hi, Kenan. > > If you can tell me a URL for which `htmlprag` you're using, I'll try > to fix the problem. > > If I can't quickly figure out a simple fix for that `htmlprag`, I > might end up trying to quickly do an unofficial port of the current > (sadly Racket-specific) incarnation of the `htmlprag` code, since the > newer code works correctly with your example, and I don't see an > obvious fix in the version history: > "https://www.neilvandyke.org/racket/html-parsing/#%28part._.History%29". > > (Coincidentally, I recently decided to switch back from Racket, to > building atop RnRS again, and hopefully advancing it. `htmlprag` was > the very first Scheme code I ever wrote, and was tested on many Scheme > implementations, so porting `html-parsing` back from Racket first > seems suiting, and probably very easy.) > > Neil V. >