better html handling in postComposer

This commit is contained in:
Julian Steinwachs 2016-01-29 20:44:49 +01:00
parent c19ce094ec
commit f44e8f52f9
3 changed files with 7 additions and 3 deletions

View File

@ -1240,11 +1240,13 @@ module.exports = {
}*/
}
output.push({type:"text",raw:this.reverseHtmlEntities(msg)});
output.push({type:"text",raw:msg});
msg = "";
}
//console.log(output)
return output;
}

View File

@ -141,11 +141,13 @@ module.exports = {
}*/
}
output.push({type:"text",raw:this.reverseHtmlEntities(msg)});
output.push({type:"text",raw:msg});
msg = "";
}
//console.log(output)
return output;
}

View File

@ -1,4 +1,4 @@
var PostContentHelper = require("../build-buffer/common/PostContentHelper.js");
console.log(PostContentHelper.parseContent("asd http://"));
console.log(PostContentHelper.parseContent("asd http:// <u"));