Merge branch 'develop' into kegan/tab-complete

This commit is contained in:
Kegan Dougal 2015-12-22 15:16:39 +00:00
commit a20cabb06f
2 changed files with 52 additions and 28 deletions

View file

@ -348,6 +348,9 @@ module.exports = React.createClass({
if (isEmote) {
contentText = contentText.substring(4);
}
else if (contentText[0] === '/') {
contentText = contentText.substring(1);
}
var htmlText;
if (this.markdownEnabled && (htmlText = mdownToHtml(contentText)) !== contentText) {