mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:01:07 +08:00
FIX: Missing iframe closing tag in discobot certificate (#13052)
When issuing the discobot certificate, we were not closing the iframe tag, which meant that the final message instruction to the user was swallowed up.
This commit is contained in:
@ -137,7 +137,7 @@ module DiscourseNarrativeBot
|
||||
src = Discourse.base_url + DiscourseNarrativeBot::Engine.routes.url_helpers.certificate_path(options)
|
||||
alt = CGI.escapeHTML(I18n.t("#{self.class::I18N_KEY}.certificate.alt"))
|
||||
|
||||
"<iframe class='discobot-certificate' src='#{src}' width='650' height='464' alt='#{alt}'>"
|
||||
"<iframe class='discobot-certificate' src='#{src}' width='650' height='464' alt='#{alt}'></iframe>"
|
||||
end
|
||||
|
||||
protected
|
||||
|
Reference in New Issue
Block a user