Skip to content

textBody returns only the first content element #94

@clement-plancq

Description

@clement-plancq

textBody is limited to the first element found in content. Is it on purpose ?

src/readability.js

Readability.prototype.getTextBody = function(notDeprecated) {
  []
var rootElement = articleContent.childNodes[0];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions