Fix output escaping