lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-2.4.0 vs lib/adiwg/mdtranslator/writers/html/sections/html_body.rb in adiwg-mdtranslator-2.5.0
- old
+ new
@@ -88,12 +88,12 @@
@html.span('Metadata Record')
@html.span('HTML5', 'class' => 'version')
end
# report title
- aShortVersion = version.split('.')
- shortVersion = aShortVersion[0].to_s + '.' + aShortVersion[1].to_s
- @html.h1('mdTranslator ' + shortVersion + ' HTML Metadata Record', 'id' => 'mdtranslator-metadata-report')
+ # aShortVersion = version.split('.')
+ # shortVersion = aShortVersion[0].to_s + '.' + aShortVersion[1].to_s
+ @html.h1('mdTranslator ' + version + ' HTML Metadata Record', 'id' => 'mdtranslator-metadata-report')
# report date
@html.section(:class => 'block') do
@html.em('Report Generated:')
@html.text!(Time.new.inspect)