Skip to content
This repository has been archived by the owner on Jul 26, 2020. It is now read-only.

In tests, Instead of using regex to match HTML attribute values, use an HTML parsing library #30

Open
errietta opened this issue Nov 28, 2014 · 1 comment

Comments

@errietta
Copy link
Collaborator

although it's good enough for predictable html it's.. incredibly ugly 👎

@errietta errietta added this to the V2 milestone Nov 28, 2014
@errietta
Copy link
Collaborator Author

HTML::TreeBuilder new_from_content, find_by_attribute and ->attr should help here! https://metacpan.org/pod/HTML::TreeBuilder

@errietta errietta changed the title Instead of using regex to match HTML attribute values, use an HTML parsing library In tests, Instead of using regex to match HTML attribute values, use an HTML parsing library Nov 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant