Hi Siemen let me know your loging and I can add you to commit. Paul is also taking care of Soup. Now I like XPath for scraping. Did you see the tutorial I wrote with Peter.
STef On Wed, Nov 8, 2017 at 2:17 PM, Siemen Baader <siemenbaa...@gmail.com> wrote: > Hi all, > > who maintains Soup, the HTML parser? Stef? > > It seems to auto-close <button> (and <a>) tags when nested inside another > element. I wrote this test that fails: > > testNestedButton > "this works with nested <div> tags instead of <button> and when there is > no enclosing <div> at all. but here <button> is auto-closed." > > "a does not work either" > > | soup | > soup := Soup > fromString: > '<div><button> > <span>text</span> > </button> > </div>'. > self assert: soup div button span string equals: 'text' > > ---- > > > Where should I look to prevent Soup from auto-closing the tag, and where & > how should I submit my fix? > > cheers, > Siemen