rexleparser 0.5.5 → 0.5.6
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 -6
- data.tar.gz.sig +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4b6d8eb484cc043528251eeb48dcddfefc9d70d
|
|
4
|
+
data.tar.gz: 27082d4e1ccf1d1974f4891dd25faf6ef5293ff8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6df827ab903aa50b05c5c8a730335971cf41a37e6a15d2bf6873867a92cddc12c65c032927f1f9895b3d1311ea08f1ae647ec2187e99833a772c4981804cc599
|
|
7
|
+
data.tar.gz: de37449024efce01f6f8256a76ab6aee5a8097d7bcea0ba2f540580aaf965b314771db6de52cf67ea556b3fb435599b9f34f1381f78221e15aac55e8c673bc35
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/rexleparser.rb
CHANGED
|
@@ -31,7 +31,7 @@ class RexleParser
|
|
|
31
31
|
# end tag match
|
|
32
32
|
tag = r[/^>[^<]+</]
|
|
33
33
|
|
|
34
|
-
if tag[
|
|
34
|
+
if tag[/^>[^\]\-].*[^\/]<$/m] then
|
|
35
35
|
|
|
36
36
|
# is it the end tag to match the start tag?
|
|
37
37
|
tag = r.slice!(/^>[^<]+</)
|
|
@@ -45,11 +45,7 @@ class RexleParser
|
|
|
45
45
|
elsif tag[/^>[^>]*\w+<$/] then
|
|
46
46
|
# broken tag found
|
|
47
47
|
broken_tag = tag
|
|
48
|
-
return [:child, [nil, [], broken_tag]] if broken_tag
|
|
49
|
-
|
|
50
|
-
elsif tag[/^(?:>--|>\]\]).*(?:--!|\[ATADC\[!<)/m] then
|
|
51
|
-
# it's a comment tag
|
|
52
|
-
return [:child, create_comment(tag)]
|
|
48
|
+
return [:child, [nil, [], broken_tag]] if broken_tag
|
|
53
49
|
else
|
|
54
50
|
|
|
55
51
|
text, tag = tag.sub('>',';tg&').split(/>/,2)
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
�
|
|
1
|
+
K��+`�"c,�T�TDi�^�r|���>�)�6-l�ݭ�xˑp����a��b��&sw[� �Qr���V���Ԙ���"~���%���/mţ6��r��-d�#5dL��O��g�?Ȓ�@�äF��3��X��굘��>�H��e������̌څz���nG�AAS��4DD@c�������"&1���9�"�2Q(�eZ��hŹ�{���{�a���o�GI�d�g
|
|
2
2
|
���ʿ�QM`�����
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|