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
In a Rails app generating (Prawn) PDFs using ActionText, I noticed that ActionText HTML came out garbled after upgrading from Nokogiri 1.16.7 to latest. Version 1.17.1 has the bug, version 1.17.0 segfaults, so I can't tell.
ruby/gems/3.3.0/gems/nokogiri-1.17.0-arm64-darwin/lib/nokogiri/xml/searchable.rb:215: [BUG] Segmentation fault at 0x0000000000000000
I've stored the Crash Report log, let me know if you want to have a look at it, but I see there are some issues like #3112 mentioning segfaults.
Help us reproduce what you're seeing
I'll try creating a reproduction script, but I wanted to write this down while it's hot. There's quite a lot of unwrapping to do to see where this comes from :-)
Please describe the bug
In a Rails app generating (Prawn) PDFs using ActionText, I noticed that ActionText HTML came out garbled after upgrading from Nokogiri 1.16.7 to latest. Version 1.17.1 has the bug, version 1.17.0 segfaults, so I can't tell.
By "garbled", I mean that clean and proper UTF8 characters like
é
come out asé
in the final document, even though its encoding is UTF8.Segfault location:
I've stored the Crash Report log, let me know if you want to have a look at it, but I see there are some issues like #3112 mentioning segfaults.
Help us reproduce what you're seeing
I'll try creating a reproduction script, but I wanted to write this down while it's hot. There's quite a lot of unwrapping to do to see where this comes from :-)
Expected behavior
Strings containing
é
appear as is, instead ofé
.Environment
The text was updated successfully, but these errors were encountered: