diff --git a/app/assets/javascripts/discourse/templates/components/user-stat.hbs b/app/assets/javascripts/discourse/templates/components/user-stat.hbs
index 69704bf892f..20bbb3204ae 100644
--- a/app/assets/javascripts/discourse/templates/components/user-stat.hbs
+++ b/app/assets/javascripts/discourse/templates/components/user-stat.hbs
@@ -9,5 +9,5 @@
diff --git a/app/assets/javascripts/discourse/templates/modal/activation-resent.hbs b/app/assets/javascripts/discourse/templates/modal/activation-resent.hbs
index 7439589d5ce..8780608607b 100644
--- a/app/assets/javascripts/discourse/templates/modal/activation-resent.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/activation-resent.hbs
@@ -1,5 +1,5 @@
{{#d-modal-body}}
- {{i18n 'login.sent_activation_email_again' currentEmail=currentEmail}}
+ {{html-safe (i18n 'login.sent_activation_email_again' currentEmail=currentEmail)}}
{{/d-modal-body}}
{{modal-footer-close closeModal=(route-action "closeModal")}}
diff --git a/app/assets/javascripts/discourse/templates/modal/auth-token.hbs b/app/assets/javascripts/discourse/templates/modal/auth-token.hbs
index 5390227a2e9..add7e7ce5ad 100644
--- a/app/assets/javascripts/discourse/templates/modal/auth-token.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/auth-token.hbs
@@ -1,7 +1,7 @@
{{#d-modal-body title="user.auth_tokens.was_this_you"}}
{{i18n 'user.auth_tokens.was_this_you_description'}}
-
{{i18n 'user.second_factor.extended_description'}}
+
{{html-safe (i18n 'user.second_factor.extended_description')}}
diff --git a/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs b/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs
index 98504b09818..edc2c4a4d89 100644
--- a/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/avatar-selector.hbs
@@ -10,11 +10,11 @@
{{else}}
{{radio-button id="system-avatar" name="avatar" value="system" selection=selected}}
-
+
{{radio-button id="gravatar" name="avatar" value="gravatar" selection=selected}}
-
+
{{d-button action=(action "refreshGravatar")
translatedTitle=(i18n "user.change_avatar.refresh_gravatar_title" gravatarName=gravatarName)
diff --git a/app/assets/javascripts/discourse/templates/modal/bookmark.hbs b/app/assets/javascripts/discourse/templates/modal/bookmark.hbs
index 782ebe9cabe..661ab90f279 100644
--- a/app/assets/javascripts/discourse/templates/modal/bookmark.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/bookmark.hbs
@@ -50,7 +50,7 @@
{{/if}}
{{else}}
-
{{i18n "bookmarks.no_timezone" basePath=basePath }}
+
{{html-safe (i18n "bookmarks.no_timezone" basePath=basePath)}}
{{/if}}
{{/if}}
diff --git a/app/assets/javascripts/discourse/templates/modal/change-owner.hbs b/app/assets/javascripts/discourse/templates/modal/change-owner.hbs
index a4e0a35c9b0..13ee97c97b6 100644
--- a/app/assets/javascripts/discourse/templates/modal/change-owner.hbs
+++ b/app/assets/javascripts/discourse/templates/modal/change-owner.hbs
@@ -1,8 +1,10 @@
{{#d-modal-body class='change-ownership'}}
- {{i18n (if selectedPostsUsername 'topic.change_owner.instructions' 'topic.change_owner.instructions_without_old_user')
- count=selectedPostsCount
- old_user=selectedPostsUsername}}
+ {{html-safe (i18n (if selectedPostsUsername 'topic.change_owner.instructions' 'topic.change_owner.instructions_without_old_user')
+ count=selectedPostsCount
+ old_user=selectedPostsUsername
+ )
+ }}
@@ -72,7 +72,7 @@
{{#if canSplitTopic}}
{{#if newTopic}}
-
{{i18n 'topic.split_topic.instructions' count=selectedPostsCount}}
+
{{html-safe (i18n 'topic.split_topic.instructions' count=selectedPostsCount)}}