escaping angle brackets causing parse exceptions