First, thanks for your work on readability :-)
Just a quick feedback (I'm not a heavy user myself): while upgrading an old setup today, I noticed that a raw content is now wrapped into two levels of divs:
1.9.3-p484 :003 > Readability::Document.new("My content").content
=> "<div><div><p>My content</p></div></div>"
while previously (2-year old version) was returned as:
=> "<div><p>My content</p></div>"
Is it expected? I understand that this specific test-case is a bit unrelatistic (not tags at all), but wondered if there could be other similar issues with properly formatted html.
First, thanks for your work on readability :-)
Just a quick feedback (I'm not a heavy user myself): while upgrading an old setup today, I noticed that a raw content is now wrapped into two levels of divs:
while previously (2-year old version) was returned as:
Is it expected? I understand that this specific test-case is a bit unrelatistic (not tags at all), but wondered if there could be other similar issues with properly formatted html.