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

make RoomHeader Topic use EmojiText to be emojione-friendly
This commit is contained in:
David Baker 2017-07-03 10:27:47 +01:00 committed by GitHub
commit a89ea39dba

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>;
}
}