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?