mirror of
https://github.com/twisterarmy/twister-react.git
synced 2025-03-12 13:31:17 +00:00
better html handling in postComposer
This commit is contained in:
parent
c19ce094ec
commit
f44e8f52f9
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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"));
|
Loading…
x
Reference in New Issue
Block a user