diff --git a/app/assets/javascripts/discourse/components/topic-status.js.es6 b/app/assets/javascripts/discourse/components/topic-status.js.es6
index fe99221da52..1d0883f2e7d 100644
--- a/app/assets/javascripts/discourse/components/topic-status.js.es6
+++ b/app/assets/javascripts/discourse/components/topic-status.js.es6
@@ -40,13 +40,11 @@ export default Ember.Component.extend({
var renderIconIf = function(conditionProp, name, key, actionable) {
if (!self.get(conditionProp)) { return; }
- var title = I18n.t("topic_statuses." + key + ".help");
-
+ var title = Handlebars.Utils.escapeExpression(I18n.t("topic_statuses." + key + ".help"));
var startTag = actionable ? "a href='#'" : "span";
var endTag = actionable ? "a" : "span";
- buffer.push("<" + startTag +
- " title='" + title +"' class='topic-status'>" + endTag + ">");
+ buffer.push("<" + startTag + " title='" + title + "' class='topic-status'>" + endTag + ">");
};
// Allow a plugin to add a custom icon to a topic