lib/govspeak/presenters/image_presenter.rb in govspeak-8.3.4 vs lib/govspeak/presenters/image_presenter.rb in govspeak-8.4.0

- old
+ new

@@ -32,10 +32,10 @@ def figcaption_html lines = [] lines << "<figcaption>" lines << %(<p>#{caption}</p>) if caption.present? - lines << %(<p>#{I18n.t('govspeak.image.figure.credit', credit: credit)}</p>) if credit.present? + lines << %(<p>#{I18n.t('govspeak.image.figure.credit', credit:)}</p>) if credit.present? lines << "</figcaption>" lines.join end end end