-
Notifications
You must be signed in to change notification settings - Fork 94
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
fix: use golang.org/x/net/html
to parse HTML instead of regular expressions
#38
base: master
Are you sure you want to change the base?
Conversation
b75d2a6
to
563f232
Compare
@ekalinin I must have had an old fork. I have rebased from master. This PR should be ready for review. |
@ekalinin Gentle ping for a review. Thanks! |
@ekalinin I just wanted to check in to see if you could look at this pull request. Using the HTML package to parse the HTML should avoid any future failures due to subtle changes in the HTML produced by GitHub. I look forward to your feedback. |
@ekalinin Any thoughts on this PR? |
…342) - Fork https://github.com/ekalinin/github-markdown-toc.go with [HTML parsing changes](ekalinin/github-markdown-toc.go#38). - Remove references to the original repo. - Removed `cmd/go_deps` as it is no longer needed.
Related to cgrindel/bazel-starlib#160
The HTML being returned by GitHub seems to have changed slightly. The regular expression was not working.
html
package to parse the HTML generated from the markdown.io/ioutil
.