-
-
Notifications
You must be signed in to change notification settings - Fork 897
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
`encode': no implicit conversion of nil into String (TypeError) #2784
Labels
Milestone
Comments
deril
added
the
state/needs-triage
Inbox for non-installation-related bug reports or help requests
label
Feb 1, 2023
@deril Thanks for reporting! I'll take a look. |
This seems like it's straightforward to fix, but I want to take the time to explore edge cases a bit. Give me a few days! |
flavorjones
added
topic/encoding
and removed
state/needs-triage
Inbox for non-installation-related bug reports or help requests
labels
Feb 1, 2023
flavorjones
added a commit
that referenced
this issue
Feb 7, 2023
#2789 is going through CI now. If that's green, I'll backport to v1.14.x and make a release this week. |
Backport is #2791. |
I'll probably ship v1.14.2 tomorrow with the fix for this. Thanks for your patience. |
v1.14.2 shipped yesterday! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please describe the bug
Nokogiri raises an error while trying to encode an empty string to
nil
encodingHelp us reproduce what you're seeing
Expected behavior
nokogiri doesn't fail on converting to_html empty node set
Environment
The text was updated successfully, but these errors were encountered: