Merge pull request #1170 from matrix-org/t3chguy/emojione-room-topic

make RoomHeader Topic use EmojiText to be emojione-friendly
pull/21833/head
David Baker 2017-07-03 10:27:47 +01:00 committed by GitHub
commit a89ea39dba
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ module.exports = React.createClass({
}
}
if (topic) {
topic_el = <div className="mx_RoomHeader_topic" ref="topic" title={ topic } dir="auto">{ topic }</div>;
topic_el = <EmojiText dir="auto" element="div" className="mx_RoomHeader_topic" ref="topic" title={topic}>{ topic }</EmojiText>;
}
}