From: <jtc...@li...> - 2006-03-27 17:30:29
|
Update of /cvsroot/jtcfrost/frost-wot/source/frost/gui/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16796/source/frost/gui/help Modified Files: HelpHTMLDocument.java Log Message: fixes Index: HelpHTMLDocument.java =================================================================== RCS file: /cvsroot/jtcfrost/frost-wot/source/frost/gui/help/HelpHTMLDocument.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** HelpHTMLDocument.java 25 Mar 2006 10:22:05 -0000 1.2 --- HelpHTMLDocument.java 27 Mar 2006 17:30:24 -0000 1.3 *************** *** 20,23 **** --- 20,24 ---- import java.net.*; + import java.util.*; import javax.swing.text.*; *************** *** 115,118 **** --- 116,129 ---- public void handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos) { + // for(Enumeration e = a.getAttributeNames(); e.hasMoreElements(); ) { + // Object attName = e.nextElement(); + // String attVal = (String)a.getAttribute(attName); + // if( attVal.indexOf("http://") > -1 ) { + // a.removeAttribute(attName); + // a.addAttribute(attName, attVal.substring("http://".length())); + // } + // } + + // System.out.println("noti's parserhook touched"); if( t == HTML.Tag.IMG ) { |