cantino / ruby-readability

Port of arc90's readability project to Ruby
Apache License 2.0
919 stars 170 forks source link

Validity Error #76

Closed stuartkhall closed 9 years ago

stuartkhall commented 9 years ago

Hi,

I'm fetching HTML pages like the example:

  source = open(url).read
  puts Readability::Document.new(source, tags: %w[div p img a], attributes: %w[src href]).content

But every page I try I get a validation similar to:

  element p: validity error : ID xxxxx already defined

Any ideas?

Thanks

cantino commented 9 years ago

Hey @stuartkhall, did you figure it out?

stuartkhall commented 9 years ago

@cantino I worked out they were just warnings