Don't insert the non-breaking space when an action starts with an apostrophe.
This commit is contained in:
parent
51694538ff
commit
a5843ae71b
1 changed files with 3 additions and 1 deletions
|
@ -118,6 +118,8 @@ Umi.UI.Messages = (function() {
|
||||||
classes.push('message-tiny');
|
classes.push('message-tiny');
|
||||||
|
|
||||||
avatarSize = '40';
|
avatarSize = '40';
|
||||||
|
|
||||||
|
if(msgText.indexOf("'") !== 0 || (msgText.match(/\'/g).length % 2) === 0)
|
||||||
msgText = "\xA0" + msgText;
|
msgText = "\xA0" + msgText;
|
||||||
|
|
||||||
eBase = <div id={`message-${msg.getId()}`} class={classes} style={styles}>
|
eBase = <div id={`message-${msg.getId()}`} class={classes} style={styles}>
|
||||||
|
|
Loading…
Reference in a new issue