Normally we should encode user input strings before displaying to avoid execution of malicious code. like this:
var encodedValue = $('<div />').text(value).html();
But how is it possible in Cocos Creator? Or it is not necessary and is taken care of by default? Thanks.