public static String sanitizeAttribute ( String value ) { for ( int ii = 0 ; ii < ATTR_ESCAPES . length ; ++ ii ) { value = value . replace ( ATTR_ESCAPES [ ii ] [ 0 ] , "" ) ; } return value ; }
Nukes special attribute characters . Ideally this would not be needed but some integrations do not accept special characters in attributes .