lint: fix whitespace
This commit is contained in:
parent
ed4d7ae1b9
commit
b01a4c0ada
|
@ -120,10 +120,10 @@ module DiscourseNarrativeBot
|
||||||
format: :svg
|
format: :svg
|
||||||
}
|
}
|
||||||
options.merge!(type: type) if type
|
options.merge!(type: type) if type
|
||||||
|
|
||||||
src = Discourse.base_url + DiscourseNarrativeBot::Engine.routes.url_helpers.certificate_path(options)
|
src = Discourse.base_url + DiscourseNarrativeBot::Engine.routes.url_helpers.certificate_path(options)
|
||||||
alt = CGI.escapeHTML(I18n.t("#{self.class::I18N_KEY}.certificate.alt"))
|
alt = CGI.escapeHTML(I18n.t("#{self.class::I18N_KEY}.certificate.alt"))
|
||||||
|
|
||||||
"<img class='discobot-certificate' src='#{src}' width='650' height='464' alt='#{alt}'>"
|
"<img class='discobot-certificate' src='#{src}' width='650' height='464' alt='#{alt}'>"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue