-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unexpected behavior with HTML entities #1341
Comments
Nope -- The documentation from has_text? which have_text is a matcher based on states - Checks if the page or current node has the given text content,ignoring any HTML tags and normalizing whitespace.This is referring to stripping the tags and normalizing whitespace of the page contents, |
carols10cents
added a commit
to carols10cents/rstat.us
that referenced
this issue
Oct 7, 2014
This way, we're getting text as the user would see it. See: teamcapybara/capybara#1341
carols10cents
added a commit
to carols10cents/rstat.us
that referenced
this issue
Oct 8, 2014
This way, we're getting text as the user would see it. See: teamcapybara/capybara#1341
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Should
have_content
,have_text
, and anything that deals with a text node decode or strip HTML entities?The text was updated successfully, but these errors were encountered: