protected void appendHTML(final StringBuilder sbuf,final String text){
  final StringCharacterIterator ci=new StringCharacterIterator(text);
  char ch=ci.current();
  while (ch != CharacterIterator.DONE) {
    appendHTML(sbuf,ch);
    ch=ci.next();
  }
}

protected void appendHTML ( final StringBuilder sbuf , final String text ) { final StringCharacterIterator ci = new StringCharacterIterator ( text ) ; char ch = ci . current ( ) ; while ( ch != CharacterIterator . DONE ) { appendHTML ( sbuf , ch ) ; ch = ci . next ( ) ; } }
escape text as html , escaping meta - characters .
