go-shiori / obelisk

Go package and CLI tool for saving web page as single HTML file
MIT License
249 stars 18 forks source link

Update call to css.NewLexer to the new functionality #5

Closed tmahlburg closed 3 years ago

tmahlburg commented 3 years ago

Currently, the behaviour of this package is not compatible with tdewolff/parse, because the signature of css.NewLexer has been changed. This pull request uses the new signature by creating a new parse.Input using the input io.Reader.

If you have any comments or questions, let me know.

RadhiFadlillah commented 3 years ago

Thanks for the PR.

Since in this PR we are going to upgrade dependencies for tdewolff/parse, I decided to upgrade all dependencies as well. With that said, I'll close this PR in favor of commit ccf9a47.