FIX: Reenable global setting HTML support. (#14521)

FIX: Reenable global setting HTML support. (#14521)

diff --git a/app/assets/javascripts/discourse/app/templates/components/global-notice.hbs b/app/assets/javascripts/discourse/app/templates/components/global-notice.hbs
index 96aee8f..08ff366 100644
--- a/app/assets/javascripts/discourse/app/templates/components/global-notice.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/global-notice.hbs
@@ -4,7 +4,7 @@
       {{#if notice.options.html}}
         {{html-safe notice.options.html}}
       {{/if}}
-      <span class="text">{{notice.text}}</span>
+      <span class="text">{{html-safe notice.text}}</span>
 
       {{#if notice.options.dismissable}}
         {{d-button
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index 9c071e0..cdc007b 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -2122,7 +2122,7 @@ en:
 
     permalink_normalizations: "Apply the following regex before matching permalinks, for example: /(topic.*)\\?.*/\\1 will strip query strings from topic routes. Format is regex+string use \\1 etc. to access captures"
 
-    global_notice: "Display an URGENT, EMERGENCY, non-dismissible global banner notice to all visitors, change to blank to hide it."
+    global_notice: "Display an URGENT, EMERGENCY, non-dismissible global banner notice to all visitors, change to blank to hide it (HTML allowed)."
 
     disable_system_edit_notifications: "Disables edit notifications by the system user when 'download_remote_images_to_local' is active."
 

GitHub sha: e5c257e5b52ccebcd689022b83f57a38ffbe0f2b

This commit appears in #14521 which was approved by tshenry. It was merged by romanrizzi.