lib/bolognese/writers/ris_writer.rb in bolognese-0.9.93 vs lib/bolognese/writers/ris_writer.rb in bolognese-0.9.94
- old
+ new
@@ -8,10 +8,10 @@
"T2" => container_title,
"AU" => to_ris(author),
"DO" => doi,
"UR" => b_url,
"AB" => parse_attributes(description, content: "text", first: true),
- "KW" => parse_attributes(keywords, content: "text").presence,
+ "KW" => Array.wrap(keywords).map { |k| parse_attributes(k, content: "text", first: true) }.presence,
"PY" => publication_year,
"PB" => publisher,
"AN" => parse_attributes(alternate_name, content: "name").presence,
"LA" => language,
"VL" => volume,