mirror of https://github.com/vector-im/riot-web
comment \u200b
parent
35cebc56d3
commit
6aad99a505
|
@ -59,7 +59,7 @@ module.exports = React.createClass({
|
||||||
name = this.props.room.name;
|
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;
|
var badge;
|
||||||
if (this.props.highlight) {
|
if (this.props.highlight) {
|
||||||
badge = <div className="mx_RoomTile_badge"/>;
|
badge = <div className="mx_RoomTile_badge"/>;
|
||||||
|
|
Loading…
Reference in New Issue