Merge pull request #2213 from vikhyat/fix-title-lt

Unescape topic title before setting it as the document title
This commit is contained in:
Robin Ward 2014-03-31 16:00:13 -04:00
commit e3db0add5b

View File

@ -49,7 +49,7 @@ Discourse.TopicView = Discourse.View.extend(Discourse.Scrolling, {
_updateTitle: function() {
var title = this.get('topic.title');
if (title) return Discourse.set('title', title);
if (title) return Discourse.set('title', _.unescape(title));
}.observes('topic.loaded', 'topic.title'),
_composeChanged: function() {