Automatic escaping (closes #620533) [reviewed]