issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
262k
⌀
issue_title
stringlengths
1
1.02k
issue_comments_url
stringlengths
53
116
issue_comments_count
int64
0
2.49k
issue_created_at
stringdate
1999-03-17 02:06:42
2025-06-23 11:41:49
issue_updated_at
stringdate
2000-02-10 06:43:57
2025-06-23 11:43:00
issue_html_url
stringlengths
34
97
issue_github_id
int64
132
3.17B
issue_number
int64
1
215k
[ "sparklemotion", "nokogiri" ]
``` Nokogiri.HTML5('<!--[if foo]><p>bar</p><![endif]-->').css('body *').each do |e| puts e end ``` Nothing is printed. Suspect if statements are honored, or assumed false. Removing all comments is not an option because they are needed later.
How does one find all elements regardless of ifs?
https://api.github.com/repos/sparklemotion/nokogiri/issues/2993/comments
0
2023-09-21T06:19:11Z
2023-09-23T02:15:08Z
https://github.com/sparklemotion/nokogiri/issues/2993
1,909,674,087
2,993
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [ ] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here `...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2984/comments
0
2023-09-15T18:05:38Z
2023-09-15T19:26:22Z
https://github.com/sparklemotion/nokogiri/issues/2984
1,898,869,963
2,984
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here `...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2983/comments
0
2023-09-15T18:04:58Z
2023-09-15T19:27:28Z
https://github.com/sparklemotion/nokogiri/issues/2983
1,898,869,293
2,983
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** <!-- A clear and concise description of what you're trying to do. Please try to describe the problem you're solving, rather than the solution you're implementing -- avoid the XY Problem! http://xyproblem.info/ --> **Please show your code!** <!-- If possible, please ...
[help]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2982/comments
1
2023-09-15T18:04:21Z
2023-09-15T19:27:27Z
https://github.com/sparklemotion/nokogiri/issues/2982
1,898,868,636
2,982
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** <!-- A clear and concise description of what you're trying to do. Please try to describe the problem you're solving, rather than the solution you're implementing -- avoid the XY Problem! http://xyproblem.info/ --> **Please show your code!** <!-- If possible, please ...
[help]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2981/comments
1
2023-09-15T18:03:37Z
2023-09-15T19:27:27Z
https://github.com/sparklemotion/nokogiri/issues/2981
1,898,867,853
2,981
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2980/comments
0
2023-09-15T10:08:58Z
2023-09-15T19:27:27Z
https://github.com/sparklemotion/nokogiri/issues/2980
1,898,118,038
2,980
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here `...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2979/comments
1
2023-09-15T10:06:57Z
2023-09-15T10:08:25Z
https://github.com/sparklemotion/nokogiri/issues/2979
1,898,115,095
2,979
[ "sparklemotion", "nokogiri" ]
Back in a913af57936869bf54acedac1586c9884dbfabec nokogiri got a warning if it dynamically loaded a different version than it was compiled against. I can see value for it if nokogiri is loading an older version of the library at runtime. But could we allow loading newer versions dynamically? This would allow linux distr...
[bug] Relax the version warning about mismatch between compile time versions and runtime versions
https://api.github.com/repos/sparklemotion/nokogiri/issues/2978/comments
3
2023-09-14T22:40:24Z
2023-09-15T19:33:06Z
https://github.com/sparklemotion/nokogiri/issues/2978
1,897,443,604
2,978
[ "sparklemotion", "nokogiri" ]
Yesterday an incorrect GHSA was processed by dependabot sending out incorrect security warnings. The version numbers in the original report are incorrect. They are the version of the underlying libxml2 library, and not the version of the Nokogiri gem. The correct version that a patched version of libxml2 appears in ...
Notice: incorrect dependabot security advisory for Nokogiri re: CVE-2017-15412
https://api.github.com/repos/sparklemotion/nokogiri/issues/2966/comments
1
2023-08-26T17:34:44Z
2023-08-28T02:24:03Z
https://github.com/sparklemotion/nokogiri/issues/2966
1,868,185,294
2,966
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** Hello, and apologies if this a duplicate of an existing issue. This may be related to #918. When updating the gems in a test suite of a third-party library premailer/premailer#430, I've noticed some breaking tests related to encoding. This has been bisected to 0c05c1f and it is a co...
[bug] Difference between 1.14 and 1.15 related to UTF-8 - ASCII conversion
https://api.github.com/repos/sparklemotion/nokogiri/issues/2965/comments
11
2023-08-26T08:25:16Z
2023-09-15T19:30:43Z
https://github.com/sparklemotion/nokogiri/issues/2965
1,867,974,498
2,965
[ "sparklemotion", "nokogiri" ]
See https://github.com/madler/zlib/releases/tag/v1.3 for details > Version 1.3 has these key changes: > > - Building using K&R (pre-ANSI) function definitions is no longer supported. > - Fixed a bug in deflateBound() for level 0 and memLevel 9. > - Fixed a bug when gzungetc() is used immediately after gzopen()....
dep: evaluate zlib 1.3 for a nokogiri 1.16 release
https://api.github.com/repos/sparklemotion/nokogiri/issues/2960/comments
0
2023-08-18T18:47:04Z
2023-08-18T21:31:52Z
https://github.com/sparklemotion/nokogiri/issues/2960
1,857,146,146
2,960
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** ``` content = '<Failure message="org.junit.ComparisonFailure: expected:&amp;lt;TRANSIT_[TASK_CLOSE]&amp;gt; but was:&amp;lt;TRANSIT_[ACTIVITY_OPEN]&amp;gt;&#13;" />' xml_doc = Nokogiri::XML(content) puts xml_doc.root['message'].inspect ``` ```'&amp;'``` is converted to '...
[help] '&amp;' is converted to '&', how to disable the conversion?
https://api.github.com/repos/sparklemotion/nokogiri/issues/2959/comments
5
2023-08-16T16:38:57Z
2023-08-19T08:55:19Z
https://github.com/sparklemotion/nokogiri/issues/2959
1,853,580,476
2,959
[ "sparklemotion", "nokogiri" ]
I'd like to explore the recommendations being made by the OpenSSF scorecard report. I ran it this morning manually and saw this: ``` |---------|------------------------|--------------------------------|------------------------------------------------------------------------------------------------------------------...
OpenSSF scorecard
https://api.github.com/repos/sparklemotion/nokogiri/issues/2958/comments
2
2023-08-16T14:51:08Z
2024-07-03T19:53:33Z
https://github.com/sparklemotion/nokogiri/issues/2958
1,853,406,498
2,958
[ "sparklemotion", "nokogiri" ]
## Summary libxml2 has long had default limits on document size in order to prevent untrusted documents from creating an OOM condition and potentially using that as a denial-of-service attack vector. These limits can be removed for trusted documents by setting the `HUGE` parse option. libgumbo does not have limit...
RFC: limit libgumbo memory allocations for untrusted HTML5 content
https://api.github.com/repos/sparklemotion/nokogiri/issues/2949/comments
1
2023-08-09T14:42:40Z
2024-12-16T17:21:28Z
https://github.com/sparklemotion/nokogiri/issues/2949
1,843,421,417
2,949
[ "sparklemotion", "nokogiri" ]
See https://discourse.gnome.org/t/libxml2-2-11-5-released/16629/1 and https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.11.5 > Regressions > - parser: Make xmlSwitchEncoding always skip the BOM > - autotools: Improve iconv check > > Bug fixes > - valid: Fix c1->parent pointer in xmlCopyDocElementContent > -...
dep: evaluate libxml2 2.11.5 for a nokogiri 1.15 patch release
https://api.github.com/repos/sparklemotion/nokogiri/issues/2948/comments
2
2023-08-09T14:34:45Z
2023-08-11T14:16:03Z
https://github.com/sparklemotion/nokogiri/issues/2948
1,843,400,017
2,948
[ "sparklemotion", "nokogiri" ]
Failing tests: https://github.com/sparklemotion/nokogiri/actions/runs/5797702515/job/15713807166 I'm pretty sure this is from the changes applied related to https://gitlab.gnome.org/GNOME/libxml2/-/issues/574 this morning Need to investigate and either work around or report upstream.
upstream libxml2 changes break some encoding behavior
https://api.github.com/repos/sparklemotion/nokogiri/issues/2947/comments
3
2023-08-08T14:09:49Z
2023-08-18T19:55:26Z
https://github.com/sparklemotion/nokogiri/issues/2947
1,841,399,516
2,947
[ "sparklemotion", "nokogiri" ]
Merhaba termux uygulaması uzerinden nokogiri 1.8.0 ı kurmak istiyorum fakat her seferinde hata alıyorum girdiğim komut şu "gem install -v nokogiri 1.8.0" Ve devamında şu cevabı alıyorum (Building native extensions. This could take a while... ERROR: Error installing nokogiri: ...
Merhabalar ben termusta nokogiri 1.8.0 kurulumnda her seferinde hata alıyorum [help]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2946/comments
2
2023-08-07T17:56:20Z
2023-08-09T14:36:16Z
https://github.com/sparklemotion/nokogiri/issues/2946
1,839,962,886
2,946
[ "sparklemotion", "nokogiri" ]
It looks like there is different behavior for Nokogiri::HTML4::DocumentFragment vs HTML5 - If you have more than 10mb of text inside a `<div>` tag in the HTML4 parser, some of it goes missing. It looks like there is a buffer in the parser that has about a 10mb limit and the data after that point get dropped - the...
HTML4::DocumentFragment4 truncates text in a <div> tag at about 10mb
https://api.github.com/repos/sparklemotion/nokogiri/issues/2941/comments
6
2023-07-31T20:47:06Z
2023-08-09T14:42:56Z
https://github.com/sparklemotion/nokogiri/issues/2941
1,830,002,462
2,941
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** <!-- A clear and concise description of what the bug is. Please include as much context as you can about what's going on. --> xml declaration "standalone" is missing with **JRuby**. **Help us reproduce what you're seeing** Here is sample code: ``` require 'nokogiri' xml ...
[bug]xml declaration "standalone" is missing with JRuby
https://api.github.com/repos/sparklemotion/nokogiri/issues/2937/comments
1
2023-07-27T09:53:19Z
2024-12-08T18:21:27Z
https://github.com/sparklemotion/nokogiri/issues/2937
1,824,023,952
2,937
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [ x] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` $ bundle install Fetchi...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2932/comments
6
2023-07-17T14:56:14Z
2023-07-17T21:37:27Z
https://github.com/sparklemotion/nokogiri/issues/2932
1,807,970,468
2,932
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** Hello, nokogiri developers! I recently started to maintain a [public repository for gumbo-parser](https://codeberg.org/grisha/gumbo-parser) because I saw that a lot of projects do their own thing since official GitHub repository for gumbo-parser lost maintenance. I faced thi...
[help] Request to join to public gumbo project
https://api.github.com/repos/sparklemotion/nokogiri/issues/2930/comments
5
2023-07-17T00:44:55Z
2023-08-04T21:09:02Z
https://github.com/sparklemotion/nokogiri/issues/2930
1,806,781,986
2,930
[ "sparklemotion", "nokogiri" ]
e.g., https://github.com/sparklemotion/nokogiri/actions/runs/5551865569/jobs/10138487549 I'm creating this issue primarily to communicate that this is a known problem. Leaks are reported due to the problem with inline caches described at https://github.com/Shopify/ruby_memcheck/issues/23. This is the root cause o...
ci: ruby_memcheck reporting leaks on ruby-head
https://api.github.com/repos/sparklemotion/nokogiri/issues/2928/comments
2
2023-07-14T15:18:52Z
2023-07-19T13:29:35Z
https://github.com/sparklemotion/nokogiri/issues/2928
1,805,055,511
2,928
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** When acquiring the memsize of nodes, nokogiri crashes with the following stack trace: ``` /opt/rubies/ruby-3.2.2/lib/ruby/3.2.0/objspace.rb:102: [BUG] Segmentation fault at 0x0000000000000041 ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux] -- Control frame information -...
[bug] Crash while acquiring the memsize of nodes
https://api.github.com/repos/sparklemotion/nokogiri/issues/2923/comments
2
2023-07-06T15:44:43Z
2023-07-08T15:37:31Z
https://github.com/sparklemotion/nokogiri/issues/2923
1,791,808,973
2,923
[ "sparklemotion", "nokogiri" ]
## contents - #2920 - #2918 - #2895 backported onto `v1.15.2` with: ``` git cherry-pick -x \ 79b8b4fe \ 2c7c68b3 \ 12cb1c12 \ b581c771 \ 3b1bc8ee \ 240a805f \ 6325ed6d \ 6230318f \ 0fad7263 \ 38b4dcec \ 547c27c0 \ 11bb4d70 \ 54b2f6ab \ 79...
cut a v1.15.3 release
https://api.github.com/repos/sparklemotion/nokogiri/issues/2922/comments
0
2023-07-05T13:45:53Z
2023-07-05T14:36:11Z
https://github.com/sparklemotion/nokogiri/issues/2922
1,789,601,827
2,922
[ "sparklemotion", "nokogiri" ]
Currently Nokogiri tries to figure out namespaces after node reparenting via our homebrewed function `node.c:relink_namespace()`, however what we're doing there is probably not quite right as evidenced by the [number of issues](https://github.com/sparklemotion/nokogiri/issues?q=is%3Aissue+label%3Atopic%2Fnamespaces+) a...
explore using libxml2's xmlReconciliateNs() to deal with reparenting
https://api.github.com/repos/sparklemotion/nokogiri/issues/2919/comments
4
2023-07-03T19:35:27Z
2025-03-10T00:59:06Z
https://github.com/sparklemotion/nokogiri/issues/2919
1,786,714,613
2,919
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug] Modification of children is not reflected in fragment
https://api.github.com/repos/sparklemotion/nokogiri/issues/2916/comments
3
2023-06-28T11:39:44Z
2023-07-04T07:18:45Z
https://github.com/sparklemotion/nokogiri/issues/2916
1,778,766,727
2,916
[ "sparklemotion", "nokogiri" ]
I tried `CFLAGS=-std=c99` mentioned in [here](https://github.com/sparklemotion/nokogiri/issues/2302), but didn't work for me. Because my project using bundler 2.0.1 and ruby 2.5.3, I can't install latest nokogiri gem which may be fixed this problem mentioned in [another issue](https://github.com/sparklemotion/nokogiri...
[install] 1.12.5 install failed while gumbo.c compilation
https://api.github.com/repos/sparklemotion/nokogiri/issues/2915/comments
1
2023-06-28T01:59:21Z
2023-06-29T20:58:32Z
https://github.com/sparklemotion/nokogiri/issues/2915
1,778,037,557
2,915
[ "sparklemotion", "nokogiri" ]
This week, something changed and valgrind is failing to start up: https://github.com/sparklemotion/nokogiri/actions/runs/5331574365 This issue is a placeholder for investigating and fixing it.
CI containers' valgrind is no longer running
https://api.github.com/repos/sparklemotion/nokogiri/issues/2909/comments
1
2023-06-22T12:54:22Z
2023-06-22T14:57:19Z
https://github.com/sparklemotion/nokogiri/issues/2909
1,769,617,966
2,909
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** While working on upgrading Action Text to HTML5, some tests were failing that I traced back to this repro: ```ruby class Minitest::Spec describe "HTML4" do let(:document) { Nokogiri::HTML4::Document.parse("<div>doc</div>") } let(:fragment) { document.fragment("<div>frag</...
[bug] Document Fragment `#clone` does not behave like `#dup` with respect to the owning `document`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2908/comments
4
2023-06-20T21:52:35Z
2024-12-16T17:21:27Z
https://github.com/sparklemotion/nokogiri/issues/2908
1,766,244,102
2,908
[ "sparklemotion", "nokogiri" ]
The maintainers of Nokogiri and nokogiri-xmlsec-instructure are planning to merge the two gems together so that Nokogiri assimilates xmlsec's signing and encryption features. This issue is intended to be a "parent" issue which can be followed to understand the plan and how it's progressing, as the work will likely t...
Epic: merge nokogiri-xmlsec into Nokogiri
https://api.github.com/repos/sparklemotion/nokogiri/issues/2902/comments
5
2023-06-06T19:24:40Z
2025-03-24T02:13:38Z
https://github.com/sparklemotion/nokogiri/issues/2902
1,744,453,111
2,902
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug] Use of Ruby's memory management causes crash in unrelated code that also uses libxml2
https://api.github.com/repos/sparklemotion/nokogiri/issues/2898/comments
5
2023-06-02T07:57:18Z
2023-06-05T15:36:56Z
https://github.com/sparklemotion/nokogiri/issues/2898
1,737,651,366
2,898
[ "sparklemotion", "nokogiri" ]
- see milestone: https://github.com/sparklemotion/nokogiri/milestone/28 - new minor version tasks - [x] drop support for ruby 2.7 - https://github.com/sparklemotion/nokogiri/pull/3040 - [x] add support for ruby 3.3 - [x] https://github.com/sparklemotion/nokogiri/pull/3038 - [x] #3054 - [x] https:/...
release planning: v1.16.0
https://api.github.com/repos/sparklemotion/nokogiri/issues/2897/comments
3
2023-06-01T20:12:30Z
2023-12-28T01:13:46Z
https://github.com/sparklemotion/nokogiri/issues/2897
1,737,015,189
2,897
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug**...
[bug] Nokogiri::XML::Reader#inner_xml returns NCR encoded attributes even if the encoding is set to utf-8 in #from_memory call.
https://api.github.com/repos/sparklemotion/nokogiri/issues/2891/comments
5
2023-05-24T08:48:19Z
2024-01-30T16:51:59Z
https://github.com/sparklemotion/nokogiri/issues/2891
1,723,486,133
2,891
[ "sparklemotion", "nokogiri" ]
We've been seeing this error under Java 8 starting with v1.14: ``` java.lang.UnsupportedClassVersionError: org/cyberneko/dtd/DTDConfiguration has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 ```...
[bug] java.lang.UnsupportedClassVersionError: org/cyberneko/dtd/DTDConfiguration
https://api.github.com/repos/sparklemotion/nokogiri/issues/2887/comments
12
2023-05-22T19:29:34Z
2023-05-24T15:47:41Z
https://github.com/sparklemotion/nokogiri/issues/2887
1,720,339,037
2,887
[ "sparklemotion", "nokogiri" ]
Checklist from CONTRIBUTING.md: - [x] make sure CI is green! - [x] update `CHANGELOG.md` and `lib/nokogiri/version/constant.rb` - [x] create a git tag - [x] run `scripts/build-gems` and make sure it completes and all the tests pass - [x] `for g in gems/*.gem ; do gem push $g ; done` - [x] create a release at ht...
release nokogiri 1.15.1
https://api.github.com/repos/sparklemotion/nokogiri/issues/2884/comments
2
2023-05-19T13:14:59Z
2023-05-19T14:08:27Z
https://github.com/sparklemotion/nokogiri/issues/2884
1,717,234,548
2,884
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug] `Nokogiri::XML::Reader.from_io.each` misidentifies character encoding?
https://api.github.com/repos/sparklemotion/nokogiri/issues/2882/comments
6
2023-05-18T08:00:53Z
2023-05-19T14:09:07Z
https://github.com/sparklemotion/nokogiri/issues/2882
1,715,199,164
2,882
[ "sparklemotion", "nokogiri" ]
Please allow installation with Ruby 3.3.0-preview1 :) As a temporary workaround, I ran this: ``` bundle config set deployment 'false' ```
nokogiri-1.15.0-x86_64-linux requires ruby version >= 2.7, < 3.3.dev, which is incompatible with the current version, 3.3.0.preview1
https://api.github.com/repos/sparklemotion/nokogiri/issues/2881/comments
5
2023-05-17T22:56:17Z
2023-05-30T17:01:07Z
https://github.com/sparklemotion/nokogiri/issues/2881
1,714,753,327
2,881
[ "sparklemotion", "nokogiri" ]
See https://discourse.gnome.org/t/libxml2-2-11-0-released/15123 for release notes. It doesn't look like anything in here affects nokogiri security concerns, so I'm planning to include this in a 1.15.0 release, but not a 1.14.x patch release. Opinions welcome. Lots of yak shaving to try to make this release work ....
update to libxml2 2.11.0 or later
https://api.github.com/repos/sparklemotion/nokogiri/issues/2865/comments
3
2023-04-28T13:30:58Z
2023-05-17T13:24:02Z
https://github.com/sparklemotion/nokogiri/issues/2865
1,688,565,168
2,865
[ "sparklemotion", "nokogiri" ]
Yesterday a test was added upstream to resolve an open question about tree construction: - original issue and analysis: https://github.com/html5lib/html5lib-tests/issues/137 - test for proper behavior: https://github.com/html5lib/html5lib-tests/pull/163 Gumbo is failing this test: https://github.com/sparklemotio...
html5: failing upstream html5lib-test
https://api.github.com/repos/sparklemotion/nokogiri/issues/2862/comments
2
2023-04-27T16:19:46Z
2023-04-27T16:59:21Z
https://github.com/sparklemotion/nokogiri/issues/2862
1,687,169,688
2,862
[ "sparklemotion", "nokogiri" ]
Hi, I am pretty new to this so please excuse me if it is a trivial question/isssue. I have a Pi Zero (ARMv6) and have successfully installed Ruby (3.0.0p0) and Rails (7.0.4.3). Everything seems ok I was able to create a rails project etc. However when running Rails server to start the server I get the below erro...
pi Zero Rails - nokogiri error
https://api.github.com/repos/sparklemotion/nokogiri/issues/2861/comments
12
2023-04-27T06:57:48Z
2023-05-03T05:46:22Z
https://github.com/sparklemotion/nokogiri/issues/2861
1,686,235,551
2,861
[ "sparklemotion", "nokogiri" ]
Libxml 2.10.4 was just released: https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4 It has some security fixes, so I'll be shipping a `v1.14.x` patch release. - [x] apply to `v1.14.x` branch - https://github.com/sparklemotion/nokogiri/pull/2852 - [x] apply to `main` branch - https://github.com/sparklemoti...
Update vendored libxml2 to v2.10.4
https://api.github.com/repos/sparklemotion/nokogiri/issues/2851/comments
0
2023-04-11T14:02:41Z
2023-04-11T17:13:02Z
https://github.com/sparklemotion/nokogiri/issues/2851
1,662,560,604
2,851
[ "sparklemotion", "nokogiri" ]
The problem is with long CSS selectors on this page https://hanzoutlet.com/product/womens-oversized-knitted-long-sleeve-sweater The selector itself is as simple as this: `div div div div div div div div` and the performance degrades exponentially with every new `div` added. Here are a few Benchmark examples: `...
Bad performance with long CSS selectors
https://api.github.com/repos/sparklemotion/nokogiri/issues/2850/comments
2
2023-04-10T16:50:51Z
2023-04-11T12:47:43Z
https://github.com/sparklemotion/nokogiri/issues/2850
1,661,055,718
2,850
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug] glibc doesn't seem to be needed under Alpine Linux (README.md)
https://api.github.com/repos/sparklemotion/nokogiri/issues/2849/comments
5
2023-04-10T14:36:33Z
2023-04-20T12:30:43Z
https://github.com/sparklemotion/nokogiri/issues/2849
1,660,882,215
2,849
[ "sparklemotion", "nokogiri" ]
Updates to upstream https://github.com/html5lib/html5lib-tests are failing in Nokogiri's "upstream" CI: - https://github.com/sparklemotion/nokogiri/actions/runs/4594272018/jobs/8113098993 These failures are from one of these two commits: - https://github.com/html5lib/html5lib-tests/commit/4f45c0211cf1d1f1af319...
[upstream] html5lib-tests head has failing tests
https://api.github.com/repos/sparklemotion/nokogiri/issues/2841/comments
2
2023-04-03T13:38:47Z
2023-04-07T16:07:48Z
https://github.com/sparklemotion/nokogiri/issues/2841
1,652,092,789
2,841
[ "sparklemotion", "nokogiri" ]
On occasion, the `ruby_memcheck` job in CI raises a failure that isn't obviously fixable within Nokogiri. My memory is soft, so I'm creating this issue to track these when they show up to see if there's a pattern that we can either 1. identify as an issue that is fixable within Nokogiri 2. if it's something we c...
[journal] tracking (likely spurious) `ruby_memcheck` errors in CI
https://api.github.com/repos/sparklemotion/nokogiri/issues/2838/comments
7
2023-04-02T12:56:40Z
2023-11-18T22:19:00Z
https://github.com/sparklemotion/nokogiri/issues/2838
1,650,937,370
2,838
[ "sparklemotion", "nokogiri" ]
- Failing test: https://github.com/sparklemotion/nokogiri/actions/runs/4578413227/jobs/8084989025 - Upstream commit: https://gitlab.gnome.org/GNOME/libxml2/-/commit/d7d0bc6581e332f49c9ff628f548eced03c65189 - Upstream originating issue: https://gitlab.gnome.org/GNOME/libxml2/-/issues/508 Note we previously updated ...
upstream: update tests to reflect behavior on libxml2 master
https://api.github.com/repos/sparklemotion/nokogiri/issues/2836/comments
0
2023-03-31T19:41:31Z
2023-04-01T02:08:35Z
https://github.com/sparklemotion/nokogiri/issues/2836
1,649,920,500
2,836
[ "sparklemotion", "nokogiri" ]
When having HTML with `<hr>` without self-closing tag like `<hr />`, the content afterward is removed. ```ruby Nokogiri.parse('<div>foo<hr>bar</div>').root.inner_html => "foo<hr>" ``` In this case 'bar' was removed. When using `<hr />` it works: ```ruby Nokogiri.parse('<div>foo<hr />bar</div>').root.inne...
Content removed after single tag (hr) without self closing forward slash [bug]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2834/comments
5
2023-03-18T11:41:14Z
2023-04-07T12:52:29Z
https://github.com/sparklemotion/nokogiri/issues/2834
1,630,288,917
2,834
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! Precompiled gem installation works but building fails outside of build in ruby code. **What is the complete output of `gem install` or `bundle install`?** ``` Installing nokogi...
[install] Fails in psych.rb:455:in parse_stream: undefined method parse for Psych::Parser NoMethodError
https://api.github.com/repos/sparklemotion/nokogiri/issues/2828/comments
6
2023-03-09T17:49:51Z
2025-01-06T02:41:33Z
https://github.com/sparklemotion/nokogiri/issues/2828
1,617,715,066
2,828
[ "sparklemotion", "nokogiri" ]
See 08043802 for more context, but essentially: - we parent unparented nodes at the last minute so that `xmlFreeDoc` frees all the underlying memory for us - if two text nodes happen to end up siblings during that process, they are merged and libxml2 may allocate additional memory via ruby_xmalloc - it may be unsa...
optimization: consider alternative document free mechanisms that will allow setting `RUBY_TYPED_FREE_IMMEDIATELY`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2822/comments
1
2023-03-07T14:27:57Z
2024-12-16T17:21:26Z
https://github.com/sparklemotion/nokogiri/issues/2822
1,613,578,550
2,822
[ "sparklemotion", "nokogiri" ]
The old `Data` API has been soft deprecated for a long time. The `TypedData` API is a bit more strict and opens the door for compaction, write barriers, memsize, etc. Here are the classes that need to be updated: - [x] `XSLT::Stylesheet` https://github.com/sparklemotion/nokogiri/pull/2806 - [x] `XML::XPathContex...
epic: update C extension to use the `TypedData` API
https://api.github.com/repos/sparklemotion/nokogiri/issues/2808/comments
8
2023-03-03T15:30:02Z
2023-09-21T18:06:26Z
https://github.com/sparklemotion/nokogiri/issues/2808
1,608,838,189
2,808
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** Does -- or could -- Nokogiri have a built-in way of extracting inline JSON objects in HTML, including handling of rogue elements that appear in the wild? (`undefined` and `function` are the only ones I've encountered at least.) Fixing `undefined` is easy, but inline func...
Extracting embedded JSON objects with rogue elements
https://api.github.com/repos/sparklemotion/nokogiri/issues/2804/comments
0
2023-03-01T09:03:51Z
2023-03-01T13:32:17Z
https://github.com/sparklemotion/nokogiri/issues/2804
1,604,556,112
2,804
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** If `Nokogiri::XML::Element` does not contain child elements then `first_element_child` fails with `NullPointerException`. **Help us reproduce what you're seeing** In JRuby ```ruby Nokogiri::XML("<foo>bar</foo>").first_element_child.first_element_child ``` fails with ``` Java::...
[bug] first_element_child fails with NullPointerException on JRuby
https://api.github.com/repos/sparklemotion/nokogiri/issues/2802/comments
2
2023-02-28T18:21:15Z
2023-04-08T02:06:24Z
https://github.com/sparklemotion/nokogiri/issues/2802
1,603,592,185
2,802
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** The encoding of an HTML5 document differs from the encoding of an HTML4 document: ``` Nokogiri::HTML4::Document.parse(File.open(SHIFT_JIS_HTML)).encoding == "Shift_JIS" Nokogiri::HTML5::Document.parse(File.open(SHIFT_JIS_HTML)).encoding == "UTF-8" ``` I haven't had time to dig in...
[bug] HTML5 document encoding differs from HTML4
https://api.github.com/repos/sparklemotion/nokogiri/issues/2801/comments
3
2023-02-28T16:40:34Z
2024-12-16T17:21:26Z
https://github.com/sparklemotion/nokogiri/issues/2801
1,603,413,983
2,801
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** I've found a reproducible XSLT-related crash; it happens in both macOS and Linux and with both Ruby 3.1 and 3.2, but is rather much easier to trigger on macOS (not sure why). I have not been able to reproduce it with my minimal reproducer below on Ruby 2.7, but my full (much larger) appli...
XSLT segfault
https://api.github.com/repos/sparklemotion/nokogiri/issues/2800/comments
8
2023-02-28T00:38:19Z
2023-04-07T13:00:17Z
https://github.com/sparklemotion/nokogiri/issues/2800
1,602,180,099
2,800
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** I'm attempting to parse html content from a site I do not control. Specifically, https://2e.aonprd.com. I'm taking the raw HTMl and attempting to extract text content, excluding common header and footer text, to use for a search usecase. My plan was to do something like: ``` htm...
[bug] extra </span> inserted after Nokogiri::HTML.parse
https://api.github.com/repos/sparklemotion/nokogiri/issues/2796/comments
2
2023-02-21T21:51:15Z
2023-02-22T20:35:34Z
https://github.com/sparklemotion/nokogiri/issues/2796
1,594,143,111
2,796
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
Not able to get the node having attribute as numeric name
https://api.github.com/repos/sparklemotion/nokogiri/issues/2793/comments
2
2023-02-18T22:39:35Z
2023-02-20T04:41:03Z
https://github.com/sparklemotion/nokogiri/issues/2793
1,590,491,159
2,793
[ "sparklemotion", "nokogiri" ]
- Milestone: https://github.com/sparklemotion/nokogiri/milestone/26 - Changelog acknowledgements for supporters - @github who donate a ton of compute time for CI! - @GoetzGoerisch - @airbnb - @kyo-nanba - @biximilien - @renuo - @dbootyfvrt - @kyoshidajp - @Homebrew - @hsbt - @the-pulli...
v1.15.0 release planning
https://api.github.com/repos/sparklemotion/nokogiri/issues/2788/comments
1
2023-02-06T15:16:27Z
2023-05-15T20:04:22Z
https://github.com/sparklemotion/nokogiri/issues/2788
1,572,762,298
2,788
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** We have a CI job that runs a number of rspec jobs. Since upgrading to Nokogiri v1.14.0, we noticed an uptick of seg faults. In this example, it seems that the seg fault happened at the end of the test run (https://gitlab.com/gitlab-org/gitlab/-/jobs/3697213765): ``` <snip> Finished i...
[bug] Uptick of seg faults in Nokogiri v1.14.0
https://api.github.com/repos/sparklemotion/nokogiri/issues/2785/comments
19
2023-02-04T01:33:17Z
2023-04-07T21:17:50Z
https://github.com/sparklemotion/nokogiri/issues/2785
1,570,693,580
2,785
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** Nokogiri raises an error while trying to encode an empty string to `nil` encoding **Help us reproduce what you're seeing** ```ruby #! /usr/bin/env ruby require 'nokogiri' require 'minitest/autorun' class Test < MiniTest::Spec describe "Node#css" do it "should find a ...
`encode': no implicit conversion of nil into String (TypeError)
https://api.github.com/repos/sparklemotion/nokogiri/issues/2784/comments
7
2023-02-01T12:21:11Z
2023-02-14T17:06:26Z
https://github.com/sparklemotion/nokogiri/issues/2784
1,566,017,698
2,784
[ "sparklemotion", "nokogiri" ]
Currently these methods accept an `:encoding` arg, whose value is the name of the encoding: ```ruby node.write_to(io, encoding: "UTF-8") ``` When passing in an `Encoding` object, though, we get an error: ```ruby node.write_to(io, encoding: Encoding::UTF_8) # TypeError: no implicit conversion of Encoding in...
[feature] `Node#write_to` and friends should accept `Encoding` objects for `:encoding` kwargs
https://api.github.com/repos/sparklemotion/nokogiri/issues/2774/comments
0
2023-01-21T21:02:34Z
2023-03-07T02:37:57Z
https://github.com/sparklemotion/nokogiri/issues/2774
1,551,911,543
2,774
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** In Nokogiri 1.14.0, `Node.write_to` calls `external_encoding` on the output stream. (I'm not sure why it does this as from the [IO](https://ruby-doc.org/core-3.1.2/IO.html#method-i-external_encoding) and [Encoding](https://ruby-doc.org/core-3.1.2/Encoding.html#top) docs `external_encoding...
[bug] `write_to` fails in Nokogiri 1.14.0 when writing to an IO that doesn't implement `external_encoding`, such as `Zip::OutputStream`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2773/comments
6
2023-01-19T17:35:38Z
2025-01-06T16:48:39Z
https://github.com/sparklemotion/nokogiri/issues/2773
1,549,630,745
2,773
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
On first build, racc and rex modify files
https://api.github.com/repos/sparklemotion/nokogiri/issues/2771/comments
3
2023-01-18T21:38:40Z
2023-01-19T21:09:28Z
https://github.com/sparklemotion/nokogiri/issues/2771
1,548,145,554
2,771
[ "sparklemotion", "nokogiri" ]
Commit c7a780298614c81f3dc5925e2b0c23b836e1c6e0 updates the psych requirements from 4.0 to 5.0 and this is broken on macOS. There's more context [here](https://github.com/ruby/setup-ruby/issues/409). The basic problem is that psych no longer bundles libyaml and macOS doesn't come with libyaml nor does it have a syst...
Updating the psych requirements to 5.0 breaks macOS build
https://api.github.com/repos/sparklemotion/nokogiri/issues/2769/comments
3
2023-01-17T17:53:17Z
2023-01-19T02:42:32Z
https://github.com/sparklemotion/nokogiri/issues/2769
1,536,798,867
2,769
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** SaveOptions would be more usable if its `inspect` method showed the options that were set, like ParseOptions does. **Please show your code!** ```ruby Nokogiri::XML::ParseOptions.new(Nokogiri::XML::ParseOptions::DEFAULT_HTML) # => #<Nokogiri::XML::ParseOptions:0x35c66...
[feature] SaveOptions.inspect should show the options set (similar to ParseOptions)
https://api.github.com/repos/sparklemotion/nokogiri/issues/2767/comments
0
2023-01-16T17:19:25Z
2023-03-01T02:50:35Z
https://github.com/sparklemotion/nokogiri/issues/2767
1,535,268,177
2,767
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** Hello, I want to know if all Nokogiri versions require Ruby version >= 2.7, < 3.3.dev. In my gemfile, I specified that I want to install nokogiri 1.13.10, but it still shows me the following error message when I try to run gem install bundler -v 1.17.3 && gem install rails -...
Nokogiri gem install [help]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2766/comments
2
2023-01-16T11:56:15Z
2023-01-16T18:17:32Z
https://github.com/sparklemotion/nokogiri/issues/2766
1,534,805,015
2,766
[ "sparklemotion", "nokogiri" ]
Gem installation fails on FreeBSD. **What is the complete output of `gem install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` >gem install nokogiri -- --use-system-libraries Building native extensions with: '--use-system-libraries' This could take a while... ERROR: ...
[install] Unable to install gem on FreeBSD
https://api.github.com/repos/sparklemotion/nokogiri/issues/2763/comments
12
2023-01-15T11:44:19Z
2023-01-30T14:37:52Z
https://github.com/sparklemotion/nokogiri/issues/2763
1,533,775,457
2,763
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! Sorry I'm not using the rest of the issue template but it doesn't fit my case. Reproduction: ```gradle plugins { id 'com.github.jruby-gradle.base' version '2.0.2' } reposito...
[install] [1.14.0] Cannot install via Gradle
https://api.github.com/repos/sparklemotion/nokogiri/issues/2762/comments
5
2023-01-13T13:25:27Z
2023-01-16T20:40:03Z
https://github.com/sparklemotion/nokogiri/issues/2762
1,532,304,266
2,762
[ "sparklemotion", "nokogiri" ]
First off, thanks for working on nokogiri! The latest release looks like it has some great improvements. Unfortunately, here's a bug. :) Since `v1.14.0`, the following code has different results on CRuby and JRuby (where CRuby shows the correct, and previous, behaviour): ```ruby require 'nokogiri' data = "<di...
[bug] v1.14.0 introduces inconsistency between CRuby and JRuby
https://api.github.com/repos/sparklemotion/nokogiri/issues/2761/comments
3
2023-01-13T01:48:37Z
2023-01-19T13:55:06Z
https://github.com/sparklemotion/nokogiri/issues/2761
1,531,588,610
2,761
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! **What is the complete output of `gem install` or `bundle install`?** I'm copying logs from [RubyGems CI](https://github.com/rubygems/rubygems/actions/runs/3901447399/jobs/666331...
Installing the generic version of nokogiri on Windows + Ruby 3.2 is flaky in RubyGems CI
https://api.github.com/repos/sparklemotion/nokogiri/issues/2758/comments
3
2023-01-12T11:35:13Z
2023-01-12T19:57:58Z
https://github.com/sparklemotion/nokogiri/issues/2758
1,530,560,142
2,758
[ "sparklemotion", "nokogiri" ]
Installing nokogiri captures a build time mkmf.log file that contains a non-deterministic file name. See the following diffoscope diff across two builds: ``` $ diffoscope /gnu/store/9aba01y3kfdcpxjqg5wx2sbvz4mss5hq-ruby-nokogiri-1.13.10{,-check} --- /gnu/store/9aba01y3kfdcpxjqg5wx2sbvz4mss5hq-ruby-nokogiri-1.13.1...
[bug] [reproducibility] installation contains a build log file mkmf.log
https://api.github.com/repos/sparklemotion/nokogiri/issues/2755/comments
7
2023-01-06T19:29:17Z
2023-01-09T21:32:23Z
https://github.com/sparklemotion/nokogiri/issues/2755
1,523,040,011
2,755
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** <!-- A clear and concise description of what you're trying to do. Please try to describe the problem you're solving, rather than the solution you're implementing -- avoid the XY Problem! http://xyproblem.info/ --> **Please show your code!** <!-- If possible, please include w...
[help]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2754/comments
3
2023-01-05T18:49:46Z
2023-01-07T22:03:40Z
https://github.com/sparklemotion/nokogiri/issues/2754
1,521,222,852
2,754
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** `XML::Node#write_to` fails with `no implicit conversion of nil into String` Happens on nokogiri-1.14.0-rc1 on Linux and Windows with binary gems, but not on nokogiri-1.13.10 or older versions. **Help us reproduce what you're seeing** ```ruby doc=Nokogiri::XML("") File.open("fil...
[bug] native_write_to: no implicit conversion of nil into String
https://api.github.com/repos/sparklemotion/nokogiri/issues/2752/comments
1
2023-01-04T13:24:42Z
2023-01-04T20:25:16Z
https://github.com/sparklemotion/nokogiri/issues/2752
1,518,977,358
2,752
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [ ] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here `...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2745/comments
1
2022-12-27T03:17:44Z
2022-12-27T16:55:24Z
https://github.com/sparklemotion/nokogiri/issues/2745
1,511,394,408
2,745
[ "sparklemotion", "nokogiri" ]
This is an issue just to let folks know that this is on its way. Some last-minute changes were made in Ruby around how C extensions are linked on MacOS (Darwin) and we're working through the details. If you're interested, you can read up a bit on those changes at https://github.com/rake-compiler/rake-compiler-dock/i...
in progress: ship native gem with precompiled Ruby 3.2 support
https://api.github.com/repos/sparklemotion/nokogiri/issues/2740/comments
6
2022-12-25T16:56:08Z
2022-12-29T15:57:18Z
https://github.com/sparklemotion/nokogiri/issues/2740
1,510,370,208
2,740
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
So when converting Nokogiri element back to html string, the html tags position have changed. There is a <p> inside a <h1> like this <h1><p></p></h1> in the original site, but when I convert this back from Nokogiri to html the html looks like <h1></h1><p></p1>. html string = "<h1><p></p></h1>"[bug]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2737/comments
1
2022-12-21T13:47:21Z
2022-12-21T14:51:37Z
https://github.com/sparklemotion/nokogiri/issues/2737
1,506,323,878
2,737
[ "sparklemotion", "nokogiri" ]
Ideally we want HTML5 to be the default HTML parser in Nokogiri (see #2331). Some necessary work before we do that is to make sure it's as performant as we can make it. This issue is open-ended and meant to collect the conversations and optimizations attempts we've made. gumbo-specific speedup: - https://github....
explore further optimizing the HTML5 parser and serializer
https://api.github.com/repos/sparklemotion/nokogiri/issues/2722/comments
13
2022-12-11T21:31:29Z
2025-01-09T14:34:13Z
https://github.com/sparklemotion/nokogiri/issues/2722
1,490,466,125
2,722
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [ ] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here ``` **If i...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2720/comments
0
2022-12-10T18:24:28Z
2022-12-11T20:16:54Z
https://github.com/sparklemotion/nokogiri/issues/2720
1,488,783,713
2,720
[ "sparklemotion", "nokogiri" ]
I have a same HTML parser use nokogiri X86 and ARM version gems,X86 version work good.But ARM version work wrong,Please test blow code: X86 test code: irb(main):003:0> a=Nokogiri.HTML('<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>') irb(main):004:0> a.at("head").to_s => "<head><meta htt...
[bug] ARM version GEM parse HTML error
https://api.github.com/repos/sparklemotion/nokogiri/issues/2719/comments
2
2022-12-10T10:14:50Z
2022-12-11T20:19:28Z
https://github.com/sparklemotion/nokogiri/issues/2719
1,488,340,229
2,719
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** <!-- A clear and concise description of what the bug is. Please include as much context as you can about what's going on. --> Modifying the gumbo source files doesn't cause `rake compile:nokogiri` to rebuild the extension. **Help us reproduce what you're seeing** 1. Compile the...
[build bug] Modifying gumbo source doesn't cause rebuilds
https://api.github.com/repos/sparklemotion/nokogiri/issues/2718/comments
14
2022-12-08T20:10:00Z
2024-06-07T20:05:31Z
https://github.com/sparklemotion/nokogiri/issues/2718
1,485,329,831
2,718
[ "sparklemotion", "nokogiri" ]
This issue is to track an investigation into the upstream patches applied by Canonical to their distributions' libxml2 package. References: - [USN-5760-1: libxml2 vulnerabilities | Ubuntu security notices | Ubuntu](https://ubuntu.com/security/notices/USN-5760-1) - [CVE-2022-2309 | Ubuntu](https://ubuntu.com/secu...
Investigate libxml2 patches in USN-5760-1
https://api.github.com/repos/sparklemotion/nokogiri/issues/2713/comments
1
2022-12-06T04:27:22Z
2022-12-06T04:36:42Z
https://github.com/sparklemotion/nokogiri/issues/2713
1,478,160,261
2,713
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [ ] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here ``` **If i...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2712/comments
1
2022-12-06T03:21:55Z
2022-12-07T19:16:57Z
https://github.com/sparklemotion/nokogiri/issues/2712
1,478,065,486
2,712
[ "sparklemotion", "nokogiri" ]
I am not really sure what happened. I use ruby 2.7.4, ``` gem install nokogiri -v '1.13.8' Successfully installed nokogiri-1.13.8-arm64-darwin Parsing documentation for nokogiri-1.13.8-arm64-darwin Installing ri documentation for nokogiri-1.13.8-arm64-darwin Done installing documentation for nokogiri after...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2711/comments
2
2022-12-06T02:54:58Z
2022-12-08T00:45:13Z
https://github.com/sparklemotion/nokogiri/issues/2711
1,478,021,264
2,711
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug] Nokogiri::CSS throws cryptic error messages when missing a parameter
https://api.github.com/repos/sparklemotion/nokogiri/issues/2700/comments
5
2022-11-16T09:26:25Z
2022-11-17T21:40:49Z
https://github.com/sparklemotion/nokogiri/issues/2700
1,451,213,557
2,700
[ "sparklemotion", "nokogiri" ]
As noted in #2691, the `html5lib-tests` fragment construction tests are being run using a string (tagname and optional namespace prefix) rather than an instantiated node. This is a hole in the test coverage that resulted in an undiscovered big fixed in #2692. The desired outcome is to run the fragment tests twice: o...
Run html5lib-tests fragment construction tests with an instantiated context node
https://api.github.com/repos/sparklemotion/nokogiri/issues/2697/comments
0
2022-11-14T17:53:38Z
2022-12-01T18:16:28Z
https://github.com/sparklemotion/nokogiri/issues/2697
1,448,493,076
2,697
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** See https://github.com/sparklemotion/nokogiri/blob/cd2700ab2a8b981d555e40c9f355ed22cbf5f161/ext/nokogiri/nokogiri.h#L68 So ruby.h is included after many other headers. One issue I noticed with that is that for instance `_GNU_SOURCE` is defined by Ruby headers but not by nokogiri or th...
[bug] nokogiri.h includes ruby.h after other headers
https://api.github.com/repos/sparklemotion/nokogiri/issues/2696/comments
2
2022-11-14T13:45:26Z
2022-11-15T02:50:07Z
https://github.com/sparklemotion/nokogiri/issues/2696
1,448,100,464
2,696
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2695/comments
1
2022-11-14T07:04:17Z
2022-11-14T15:26:31Z
https://github.com/sparklemotion/nokogiri/issues/2695
1,447,504,971
2,695
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** When compiling the C extension on macOS, compiling `gumbo.c` fails because it cannot find `nokogiri_gumbo.h`. The real problem is that the `-Ipath/to/gumbo-parser/include` is not getting passed to the compiler. Here's the relevant line in the `mkmf.log` file ``` block in append_cppfl...
extconf not adding an appropriate -I for gumbo-parser on macOS
https://api.github.com/repos/sparklemotion/nokogiri/issues/2689/comments
5
2022-11-09T20:14:07Z
2022-11-22T06:18:15Z
https://github.com/sparklemotion/nokogiri/issues/2689
1,442,689,709
2,689
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! **What is the complete output of `gem install` or `bundle install`?** ``` VPdeMacBook-Pro➜ Desktop ᐅ gem install nokogiri --platform=ruby -- --use-system-libraries ...
[install] Failed installing on Apple Silicon OSx 12.6 using homebrew
https://api.github.com/repos/sparklemotion/nokogiri/issues/2684/comments
1
2022-11-02T06:57:57Z
2022-11-04T01:44:00Z
https://github.com/sparklemotion/nokogiri/issues/2684
1,432,603,376
2,684
[ "sparklemotion", "nokogiri" ]
### Discussed in https://github.com/sparklemotion/nokogiri/discussions/2675 <div type='discussions-op-text'> <sup>Originally posted by **ShockwaveNN** October 20, 2022</sup> Hi, trying to port one of my library for parsing `ooxml` to jruby and I got a problem I got this XML ``` <?xml version="1.0" encoding=...
Allow attributes without namespace on `jRuby`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2677/comments
3
2022-10-20T16:29:17Z
2024-06-24T19:03:19Z
https://github.com/sparklemotion/nokogiri/issues/2677
1,416,926,937
2,677
[ "sparklemotion", "nokogiri" ]
The latest CVE for Nokogiri requires that we upgrade to 1.13.19. I think there is a typo in the CVE database. Not sure who is responsible for that **Please describe the bug** Bundle audit shows this: ruby-advisory-db: advisories: 611 advisories last updated: 2022-10-18 14:21:10 -0700 commit: ce18a9ba...
[bug] NokoGiri CVE requires a version that doesn't exist
https://api.github.com/repos/sparklemotion/nokogiri/issues/2674/comments
6
2022-10-18T23:06:53Z
2022-10-19T00:01:01Z
https://github.com/sparklemotion/nokogiri/issues/2674
1,413,950,870
2,674
[ "sparklemotion", "nokogiri" ]
See https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.3 This addresses two CVEs, so we should also backport to v1.13.x and cut a security release. - [x] main: https://github.com/sparklemotion/nokogiri/pull/2666 - [x] v1.13.x: https://github.com/sparklemotion/nokogiri/pull/2667
update vendored libxml2 to v2.10.3
https://api.github.com/repos/sparklemotion/nokogiri/issues/2665/comments
0
2022-10-14T13:39:36Z
2022-10-15T02:24:17Z
https://github.com/sparklemotion/nokogiri/issues/2665
1,409,374,314
2,665
[ "sparklemotion", "nokogiri" ]
**What problem are you trying to solve?** Currently `Node#wrap` only accepts a string which is parsed as a fragment. For some use cases where many nodes are being wrapped, this is about 2x slower than simply using an existing `Node` object. I think `Node#wrap` should be able to accept a `Node` argument, which is ...
[feature] `Node#wrap` should accept a `Node`
https://api.github.com/repos/sparklemotion/nokogiri/issues/2657/comments
0
2022-10-03T20:55:22Z
2022-11-16T20:10:59Z
https://github.com/sparklemotion/nokogiri/issues/2657
1,395,321,829
2,657
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** * https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.0 * There's some kind of issue/change between these versions that is eating ampersand characters (&). As far as I'm aware, this isn't happening with any other characters, but definitely could be. * We had upgraded to v1.13.8...
v1.13.0 XML::Document drops ampersand when parsing in-context fragments
https://api.github.com/repos/sparklemotion/nokogiri/issues/2655/comments
6
2022-09-30T19:01:39Z
2022-10-15T02:27:33Z
https://github.com/sparklemotion/nokogiri/issues/2655
1,392,860,588
2,655
[ "sparklemotion", "nokogiri" ]
Could not find nokogiri-1.8.0 in any of the sources
Unable to install
https://api.github.com/repos/sparklemotion/nokogiri/issues/2651/comments
1
2022-09-19T15:07:16Z
2022-09-19T20:43:49Z
https://github.com/sparklemotion/nokogiri/issues/2651
1,378,110,472
2,651
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug...
[bug] Empty HTML4 DocumentFragment serialization doesn't respect encoding
https://api.github.com/repos/sparklemotion/nokogiri/issues/2649/comments
5
2022-09-19T05:15:31Z
2022-09-20T00:58:02Z
https://github.com/sparklemotion/nokogiri/issues/2649
1,377,411,548
2,649
[ "sparklemotion", "nokogiri" ]
## Bug `gem install nokogiri` fails on OpenBSD when trying to extract a libxml2 archive (`.xz`). `NOKOGIRI_USE_SYSTEM_LIBRARIES=yes gem install nokogiri` works. It would be nice if a plain `gem install nokogiri` didn't fail, either by defaulting to using system libraries on OpenBSD or by extracting the archive pro...
OpenBSD installation improvement suggestions
https://api.github.com/repos/sparklemotion/nokogiri/issues/2648/comments
17
2022-09-16T21:45:33Z
2023-07-14T21:03:12Z
https://github.com/sparklemotion/nokogiri/issues/2648
1,376,509,468
2,648
[ "sparklemotion", "nokogiri" ]
After parsing a document that contains `<svg>` elements, it's possible to traverse the elements with `xpath(".//svg:svg")` But if we have a document with no `<svg>` elements to which we then **add** `<svg>` elements, the svg namespace is not added to the document, so it's impossible to use the above xpath. To ill...
HTML5 namespaces do not propagate to parent nodes when adding nodes to a document
https://api.github.com/repos/sparklemotion/nokogiri/issues/2647/comments
4
2022-09-14T18:09:39Z
2024-12-16T17:21:24Z
https://github.com/sparklemotion/nokogiri/issues/2647
1,373,394,561
2,647
[ "sparklemotion", "nokogiri" ]
I'm not sure if the title above is correct, but please consider these two ways of parsing a `<table>` within a `<p>`: ```ruby require "nokogiri" tags = "<p>A <table><tr><td>B</table> C" doc = Nokogiri::HTML5.parse("<div>"+tags) puts doc doc.at("div").inner_html = tags puts doc ``` output: ``` <html><head...
[bug] parsing a fragment in-context may yield a different DOM than parsing the same document due to quirks mode handling
https://api.github.com/repos/sparklemotion/nokogiri/issues/2646/comments
7
2022-09-13T21:05:42Z
2022-12-21T19:15:36Z
https://github.com/sparklemotion/nokogiri/issues/2646
1,372,006,906
2,646
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [ ] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` the output goes here ``` **If i...
[install]
https://api.github.com/repos/sparklemotion/nokogiri/issues/2645/comments
1
2022-09-09T18:57:29Z
2022-09-09T20:44:35Z
https://github.com/sparklemotion/nokogiri/issues/2645
1,368,211,652
2,645
[ "sparklemotion", "nokogiri" ]
See https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.1 I don't see anything in here that urgently needs to be applied, so flagging for v1.14.0
Update vendored libxml2 to 2.10.1
https://api.github.com/repos/sparklemotion/nokogiri/issues/2635/comments
0
2022-08-26T21:52:15Z
2022-08-28T15:12:42Z
https://github.com/sparklemotion/nokogiri/issues/2635
1,352,766,693
2,635