lib/relaton_bib/bibxml_parser.rb in relaton-bib-1.12.3 vs lib/relaton_bib/bibxml_parser.rb in relaton-bib-1.12.4

- old
+ new

@@ -249,10 +249,13 @@ # end # orgs + reference.xpath( # "front/author[not(@surname)][not(@fullname)]/organization", # ).map do |org| org = contrib.at("./organization") - name = ORGNAMES[org.text] || org.text + orgname = org.text.strip + return if orgname.empty? + + name = ORGNAMES[orgname] || orgname { entity: new_org(name, org[:abbrev]), role: [contributor_role(contrib)] } # end end # @param author [Nokogiri::XML::Element]