Fixed semantic characters escaping