You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
Method SoupParser>>parseStartTag converts the tag that it read to lowercase. Method SoupParser>>handleEndTag does not do this, which causes SoupParser>>numPops to not find the opening tag in the tagStack.
If you need an example, the following snippet does not parse the HTML page correctly:
page :=ZnClientnewget:'http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/index.html'.
"uncomment the following line to correctly parse the page""page := page asLowercase."
soup :=SoupfromString: page.
Usually I would make a pull request for this, but (1) I am relatively new to Smalltalk and (2) I have never worked with the Pharo GitHub integration.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Method SoupParser>>parseStartTag converts the tag that it read to lowercase. Method SoupParser>>handleEndTag does not do this, which causes SoupParser>>numPops to not find the opening tag in the tagStack.
If you need an example, the following snippet does not parse the HTML page correctly:
Usually I would make a pull request for this, but (1) I am relatively new to Smalltalk and (2) I have never worked with the Pharo GitHub integration.
The text was updated successfully, but these errors were encountered: