isodoc 1.7.6 → 1.7.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/function/utils.rb +1 -1
- data/lib/isodoc/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: 411fdbd359b728afea9bcab7225c1e79a2a2698dd37c6219c70a1434cfa09286
|
4
|
+
data.tar.gz: 05a4997c47971d8cc74985ea8a0cf7b4e2c0d0e15a144e68eae007ce24176c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7db1599bdd9d90aada565fbb02d4744a1ac85de0798c2dfd33d2b76905e5f40894042df0e0131a282fa669509f590cf471285188f6dd8e3c091d3bf6c0809bb3
|
7
|
+
data.tar.gz: cd90f9f57aa3ccd37d59d7ebc14438dd37c8812e3d131d7d82618499bfd69c25f660716a508621f536e72a68b942571347fb7218a746c42e61296e4e7fef3da8
|
@@ -211,7 +211,7 @@ module IsoDoc
|
|
211
211
|
c = HTMLEntities.new
|
212
212
|
text.split(/([<>])/).each_slice(4).map do |a|
|
213
213
|
a[0] = c.encode(c.decode(a[0]), :hexadecimal)
|
214
|
-
a[
|
214
|
+
a[2] = c.encode(c.decode(a[2]), :hexadecimal) if a.size >= 3
|
215
215
|
a
|
216
216
|
end.join
|
217
217
|
end
|
data/lib/isodoc/version.rb
CHANGED