public static String unescapeEntities ( String string , boolean inAttribute ) { Tokeniser tokeniser = new Tokeniser ( new CharacterReader ( string ) , ParseErrorList . noTracking ( ) ) ; return tokeniser . unescapeEntities ( inAttribute ) ; }
Utility method to unescape HTML entities from a string