isolate malicious sequence to avoid messing up with Arabic characters rendering