escape double-slash commands
parent
ff6d9454fd
commit
ea2405ab3a
|
|
@ -319,6 +319,9 @@ module.exports = React.createClass({
|
||||||
if (isEmote) {
|
if (isEmote) {
|
||||||
contentText = contentText.substring(4);
|
contentText = contentText.substring(4);
|
||||||
}
|
}
|
||||||
|
else if (contentText[0] === '/') {
|
||||||
|
contentText = contentText.substring(1);
|
||||||
|
}
|
||||||
|
|
||||||
var htmlText;
|
var htmlText;
|
||||||
if (this.markdownEnabled && (htmlText = mdownToHtml(contentText)) !== contentText) {
|
if (this.markdownEnabled && (htmlText = mdownToHtml(contentText)) !== contentText) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue