lib/adiwg/mdtranslator/writers/html/sections/html_metadataInfo.rb in adiwg-mdtranslator-1.1.1 vs lib/adiwg/mdtranslator/writers/html/sections/html_metadataInfo.rb in adiwg-mdtranslator-1.2.0

- old
+ new

@@ -1,10 +1,11 @@ # HTML writer # metadata information section # History: # Stan Smith 2015-03-24 original script +# Stan Smith 2016-06-12 added metadata character set require 'html_citation' require 'html_responsibleParty' require 'html_dateTime' require 'html_resourceMaint' @@ -71,9 +72,17 @@ # metadata update date hDate = hMetaInfo[:metadataUpdateDate] if !hDate.empty? @html.em('Metadata update: ') htmlDateTime.writeHtml(hDate) + end + + # metadata characterSet + s = hMetaInfo[:metadataCharacterSet] + if s + @html.em('Metadata character set: ') + @html.text!(s) + @html.br end # metadata status s = hMetaInfo[:metadataStatus] if s