protected String openTag(String tag){
  if (!tags.containsKey(tag)) {
    tags.put(tag,new Integer(clearedText.length()));
  }
  return "";
}

protected String openTag ( String tag ) { if ( ! tags . containsKey ( tag ) ) { tags . put ( tag , new Integer ( clearedText . length ( ) ) ) ; } return "" ; }
handles bold < b > , italic < i > , superscript < sup > , subscript < sub > , vertical < v > , overline < over > , underline < u > , strikethrough < s > , underline dashed < udash > , underline dotted < udot > and typewriter < tt >
