relaton-bib 1.9.9 → 1.9.10

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: 9a8c1388ea0a59ee8113bae219cb62549b4c7dfbb991562e47d38f528c3bf746
4
- data.tar.gz: 9a8b95cb8aab6d5f221b24ff2610ff41f527753dde7e96376bcd63eccaa76513
3
+ metadata.gz: 944fd26ef5c5b32d7a9a5023bc1c2291f6bfb772814c19bfd214dc951449186c
4
+ data.tar.gz: 0b168752f3e1c622cdcb04c24b7f8e0d492bea3617b0e8bbcb1e2e388717e3ce
5
5
  SHA512:
6
- metadata.gz: c2c4dfd95dca899ce8c2d10b8e31190267703628224eaaba815a9c47316aab420dcd769c33ee569d8f2eaa7dbf0257f9639ae31e8ea10252ee63eab4201cd422
7
- data.tar.gz: a398ae617cf916c2ad95ce8aff8a5701834817f0694c9e51d0d2f260cd77355f9ee0b1135de50648431f5170d03ee7f1ae7765fb0fd5519ce0c63af62b603b9b
6
+ metadata.gz: 6a0ee9af618a698c0ff2552185f4520e1bb37023ee0b51d5c8757a1a9b490631b589d5da49203cd099460d1807f1e1f2e71a85eb0cda25841e17cc9fecbcc124
7
+ data.tar.gz: f4f8cdc21e0320d29f5c40d7732fbb9af3fea8fd3c3db4b841895f8c316eaa88ce5e3033038f05b7e278f1fd31501f0a9e75b26e79ccab55137619b19dc47660
@@ -139,7 +139,7 @@ module RelatonBib
139
139
  # @return [Array<RelatonBib::FormattedString>]
140
140
  def abstracts(ref)
141
141
  ref.xpath("./front/abstract").map do |a|
142
- c = a.children.to_s.gsub(/\s+(<\/?)t(>)\s+/, '\1p\2').gsub(/\n/, "").squeeze " "
142
+ c = a.children.to_s.gsub(/\s*(<\/?)t(>)\s*/, '\1p\2').gsub(/\n/, "").squeeze " "
143
143
  FormattedString.new(content: c, language: language(ref), script: "Latn",
144
144
  format: "text/html")
145
145
  end
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.9.9".freeze
2
+ VERSION = "1.9.10".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.9
4
+ version: 1.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-22 00:00:00.000000000 Z
11
+ date: 2021-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug