lib/adiwg/mdtranslator/writers/html/sections/html_entityAttribute.rb in adiwg-mdtranslator-2.6.1 vs lib/adiwg/mdtranslator/writers/html/sections/html_entityAttribute.rb in adiwg-mdtranslator-2.7.0
- old
+ new
@@ -125,11 +125,11 @@
@html.text!(hAttribute[:maxValue].to_s)
@html.br
end
# entity attribute - range of values [] {citation}
- hAttribute[:rangeOfValues].each do |hRange|
+ hAttribute[:valueRange].each do |hRange|
@html.details do
@html.summary('Range of Values', {'class' => 'h5'})
@html.section(:class => 'block') do
# range of values - minimum value
@@ -149,10 +149,10 @@
end
end
end
# entity attribute - time period of values {timePeriod}
- hAttribute[:timePeriodOfValues].each do |hPeriod|
+ hAttribute[:timePeriod].each do |hPeriod|
@html.details do
@html.summary('Time Period of Values', {'class' => 'h5'})
@html.section(:class => 'block') do
periodClass.writeHtml(hPeriod)
end