lint: fix whitespace

This commit is contained in:
Michael Brown 2018-03-27 12:11:17 -04:00
parent ed4d7ae1b9
commit b01a4c0ada

View File

@ -120,10 +120,10 @@ module DiscourseNarrativeBot
format: :svg
}
options.merge!(type: type) if type
src = Discourse.base_url + DiscourseNarrativeBot::Engine.routes.url_helpers.certificate_path(options)
alt = CGI.escapeHTML(I18n.t("#{self.class::I18N_KEY}.certificate.alt"))
"<img class='discobot-certificate' src='#{src}' width='650' height='464' alt='#{alt}'>"
end