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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d518d9c4d21f989941f871c62682bdb996e8d060997e1211fb6bca708cfbd32
4
- data.tar.gz: 6b160e9ed08862a141fd4068ce70be0a2cf5ea97196013d87c8cf9af0a4ea133
3
+ metadata.gz: 495622b50a4332e32e7d8b72c6258ffadeeeab45ee2fa848132f6c1284f638c2
4
+ data.tar.gz: 8b4c163ce241e5f3db57df8993f7a0aea2ea47729e1ff92b62b53bfa07347c97
5
5
  SHA512:
6
- metadata.gz: d8768c3e725410a80ccf1075e33491e1ff99b6c5051576e1441734d9ef31018ffc9077e3ec01ab0bcfb353efd43018a304aff0967beb2b9839a8271a0fdaaa9b
7
- data.tar.gz: b79ca69d3aa30965fef5ce03b910739fa9e4f1816cbfe37b2d66ddb069b4134160f1c73ad2e603a69d214998e5a737819c7cf5949327491275767df25eab6835
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")
@@ -1,3 +1,3 @@
1
1
  module RelatonIeee
2
- VERSION = "1.12.6".freeze
2
+ VERSION = "1.12.7".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ieee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.6
4
+ version: 1.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.