nokolexbor 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/nokolexbor/nl_node.c +1 -1
- data/lib/nokolexbor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17230669785aa3a0bd2703cee73e72ccced0600d12fc52228125d4d6579b8290
|
4
|
+
data.tar.gz: 68fb22f67bcd9cfcad78eb3ecb2f860e71d72e78951987c3fae6ca8b03203c63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28b1fafc6889a6d020f7f7275ee9e668808334c6106fd79c68f514d233983df38169521d407726d6cc680d8e9f589b3914398bfdfc6a57a24fdda9a910741505
|
7
|
+
data.tar.gz: fd12b7be8b5f159680b652d2092144baab2fdd23e8b13c6d22cea69b6a9920019336cf07a5790148ff6fd1c7c0392d55989c2218abe876599a468397551dec9c
|
data/ext/nokolexbor/nl_node.c
CHANGED
@@ -285,7 +285,7 @@ mark_node_orders(lxb_dom_node_t *root)
|
|
285
285
|
void sort_nodes_if_necessary(VALUE selector, lxb_dom_document_t *doc, lexbor_array_t *array)
|
286
286
|
{
|
287
287
|
// No need to sort if there's only one selector, the results are natually in document traversal order
|
288
|
-
if (
|
288
|
+
if (strstr(RSTRING_PTR(selector), ",") != NULL)
|
289
289
|
{
|
290
290
|
int need_order = 0;
|
291
291
|
// Check if we have already markded orders, note that
|
data/lib/nokolexbor/version.rb
CHANGED