Context-Aware escaping