Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodes method accepts String too for tag name #2

Merged
merged 1 commit into from
Nov 20, 2016
Merged

nodes method accepts String too for tag name #2

merged 1 commit into from
Nov 20, 2016

Conversation

maiha
Copy link
Contributor

@maiha maiha commented Nov 20, 2016

Adding two methods in order to accept String for node tag names

Myhtml::Parser#nodes(tag_str : String)
Myhtml::TagsIterator#nodes(tag_str : String)

aimed to be called with arbitrary string by cli application like

% parse-css div foo.html

@kostya kostya merged commit 58c1c53 into kostya:master Nov 20, 2016
@kostya
Copy link
Owner

kostya commented Nov 20, 2016

thanks

@kostya
Copy link
Owner

kostya commented Nov 20, 2016

btw, i plan to use css selectors from Modest project based on myhtml, example: https://github.com/lexborisov/Modest/blob/master/examples/selectors/selectors_low_level.c

@kostya
Copy link
Owner

kostya commented Nov 21, 2016

@maiha
Copy link
Contributor Author

maiha commented Nov 21, 2016

Awesome! Cool! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants