rexleparser 0.6.6 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rexleparser.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d51909aefd4dcc98628cb1d1d6d45c62089c4ddc
|
|
4
|
+
data.tar.gz: aeb0fb75d714bf3f456c1bf75af858067cd27179
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d3cf9b8b09158139627c8c658a6693b998cee8f34a7f1af174030c173f656886f21eec411a4ffbd523ece332a9086daa3dd6aa2bdf5e228e6fb2d4fa90e2a1d
|
|
7
|
+
data.tar.gz: f6e9d88ba1857ea96c1d0b61c9b1bd0ee46c3a2b5a81ca31723ee2cd380ad820de553a55416ce634fef7597d2047a3cae6ec46c1fdc7c2d44033c90f0148ea7e
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/rexleparser.rb
CHANGED
|
@@ -110,7 +110,7 @@ class RexleParser
|
|
|
110
110
|
return unless r.length > 0
|
|
111
111
|
|
|
112
112
|
tag = r.slice!(/^>[^<]+</) if (r =~ /^>[^<]+</) == 0
|
|
113
|
-
tagname = tag[/([\w
|
|
113
|
+
tagname = tag[/([\w!:]+)\/?<$/,1]
|
|
114
114
|
|
|
115
115
|
# self closing tag?
|
|
116
116
|
if tag[/^>\/.*#{tagname}<$/] then
|
|
@@ -169,6 +169,6 @@ class RexleParser
|
|
|
169
169
|
|
|
170
170
|
r = children.reverse.map {|x| reverse(x)}
|
|
171
171
|
|
|
172
|
-
return [tag[/[!\-\w
|
|
172
|
+
return [tag[/[!\-\w:\[]+/], get_attributes(tag), *r]
|
|
173
173
|
end
|
|
174
174
|
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
���^�������{��V�+�FP>m���9�4�@k�t@��7��kԸA����
|
|
2
|
+
�bL�9���3=*&�&G(��6��2('�+&.�y_M;÷�>"��Q!H8�E��m:����D��C���l$�h�G�����L��Udm������&@���ċ/��S�"�u;Ƶ��a�=u�bg8:z�A� Z� Ϋ^������]�'�d���"����ؐZ��w'G�Į�-һ0����E���
|