Fix escaping for encoding properties into HREF strings.