comment \u200b

This commit is contained in:
Matthew Hodgson 2015-10-30 18:20:29 +00:00
parent 35cebc56d3
commit 6aad99a505

View file

@ -59,7 +59,7 @@ module.exports = React.createClass({
name = this.props.room.name;
}
name = name.replace(":", ":\u200b");
name = name.replace(":", ":\u200b"); // add a zero-width space to allow linewrapping after the colon
var badge;
if (this.props.highlight) {
badge = <div className="mx_RoomTile_badge"/>;