lib/asciidoctor/iso/front.rb in asciidoctor-iso-0.8.1 vs lib/asciidoctor/iso/front.rb in asciidoctor-iso-0.9.0
- old
+ new
@@ -97,10 +97,14 @@
end
end
def metadata_ics(node, xml)
ics = node.attr("library-ics")
- ics && ics.split(/,\s*/).each { |i| xml.ics i }
+ ics && ics.split(/,\s*/).each do |i|
+ xml.ics do |ics|
+ ics.code i
+ end
+ end
end
def metadata(node, xml)
title node, xml
metadata_id(node, xml)