relaton-ieee 1.12.6 → 1.12.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton_ieee/data_parser.rb +2 -2
- data/lib/relaton_ieee/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: 495622b50a4332e32e7d8b72c6258ffadeeeab45ee2fa848132f6c1284f638c2
|
4
|
+
data.tar.gz: 8b4c163ce241e5f3db57df8993f7a0aea2ea47729e1ff92b62b53bfa07347c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4903079f76d6efbba076699e00ac7a2c7f5c7b0fa3d808995d34afb3d59781d08d1eb3eda804a0991b8fd89206fb537fc34b58f14eae586e3014c6265c4aed47
|
7
|
+
data.tar.gz: c57c445a08a38cb0568510544c8c89fca246bc5c3e2c6299e8d44cc1bdcf60862ddbb34dfc8f2351ccda527050c6725bd6adce300539e7e0dfcd075aec8c0f3b
|
@@ -63,8 +63,8 @@ module RelatonIeee
|
|
63
63
|
#
|
64
64
|
def parse_title
|
65
65
|
t = []
|
66
|
-
content = doc.at("./volume/article/title").text
|
67
|
-
if content =~ /\A(.+)\s-\sredline\z/i
|
66
|
+
content = CGI.unescapeHTML doc.at("./volume/article/title").text
|
67
|
+
if content =~ /\A(.+)\s[-\u2014]\sredline\z/i
|
68
68
|
t << RelatonBib::TypedTitleString.new(content: $1, type: "title-main")
|
69
69
|
end
|
70
70
|
t << RelatonBib::TypedTitleString.new(content: content, type: "main")
|
data/lib/relaton_ieee/version.rb
CHANGED