private static String escapeContent( String raw )
	{
		char[] chars = raw.toCharArray();
		StringBuffer sb = new StringBuffer( 
			Math.round((float)chars.length * 1.15f) );
		for ( int i=0;i<chars.length;i++ )
		{
			if ( chars[i] == '<' )
				sb.append( "&lt;" );
			else if ( chars[i] == '>' )
				sb.append( "&gt;" );
			else if ( chars[i] == '&' )
				sb.append( "&amp;" );
			else
				sb.append( chars[i] );
		}
		return sb.toString();
	}