Malaysia has warned that ‘stern action’ will be taken against content that insults, incites hatred or touches on race, religion or royalty.