lib/govspeak/presenters/image_presenter.rb in govspeak-6.5.4 vs lib/govspeak/presenters/image_presenter.rb in govspeak-6.5.5
- old
+ new
@@ -31,11 +31,11 @@
end
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>#{caption}</p>) if caption.present?
+ lines << %(<p>#{I18n.t('govspeak.image.figure.credit', credit: credit)}</p>) if credit.present?
lines << "</figcaption>"
lines.join
end
end
end