Skip to content

it's not clear what happens if HtmlQuery.attr(html, attr) doesn't find the attr #10

Description

@eahanson

At the very least, add docs and examples.

  • Maybe add attr? which returns true or false depending on whether the attr exists?
  • Maybe if it doesn't find the attr, it returns nil instead of empty string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions