lib/relaton_nist/data_fetcher.rb in relaton-nist-1.12.1 vs lib/relaton_nist/data_fetcher.rb in relaton-nist-1.12.2
- old
+ new
@@ -215,10 +215,10 @@
series_path = File.expand_path("series.yaml", __dir__)
series = YAML.load_file series_path
prf, srs, num = pub_id(doc).split
sname = series[srs] || srs
title = RelatonBib::TypedTitleString.new(content: "#{prf} #{sname}")
- abbr = RelatonBib::LocalizedString.new("#{prf} #{srs}")
+ abbr = RelatonBib::LocalizedString.new srs
[RelatonBib::Series.new(title: title, abbreviation: abbr, number: num)]
end
#
# Save document