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

Implemented @glennjones "innerText" parsing for better parsed whitespace #82

Merged
merged 3 commits into from
Feb 29, 2016

Conversation

gRegorLove
Copy link
Member

This should solve #69 and most cases like it. I added this as a separate, recursive method innerText() because I wasn't sure about unintended consequences of trying to expand the textContent() method, used in multiple places.

Also updated test ParserTest::testAreaTag() with what I believe is the correct assertion. Previously it asserted the parsed name would be blank, but it currently (correctly, I believe) parses "Person Bee"

Test UrlTest::testReturnsUrlIfAbsolute continues to fail as before; unrelated to this PR.

Updated test ParserTest::testAreaTag() with what I believe is the correct assertion.
@tantek
Copy link
Member

tantek commented Feb 29, 2016

r+ on code changes. Thanks for this!

aaronpk added a commit that referenced this pull request Feb 29, 2016
Implemented @glennjones "innerText" parsing for better parsed whitespace
@aaronpk aaronpk merged commit 5d1425e into microformats:master Feb 29, 2016
@gRegorLove gRegorLove deleted the issue69 branch March 7, 2016 22:13
@barnabywalters
Copy link
Collaborator

Thanks also for the comment grammar corrections ;)

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.

4 participants