[Pidgin] #14931: <HTML> tag appears in AIM logs.

Pidgin trac at pidgin.im
Sat Mar 1 21:23:00 EST 2014


#14931: <HTML> tag appears in AIM logs.
--------------------+--------------------------
 Reporter:  Jason   |       Owner:  MarkDoliner
     Type:  defect  |      Status:  new
Milestone:          |   Component:  AIM
  Version:  2.10.1  |  Resolution:
 Keywords:          |
--------------------+--------------------------

Comment (by awad):

 '''i beleive this code will help to solve suck probelm''' ''''

 char array[source.Length()];
  int arrayIndex = 0;
  boolean inside = false;
  int i ;

  for (int i = 0; i < source.Length(); i++)
  {
      char let = source[i];
      if (let == '<')
      {
   inside = true;
   continue;
      }
      if (let == '>')
      {
   inside = false;
   continue;
      }
      if (!inside)
      {
   array[arrayIndex] = let;
   arrayIndex++;
      }
  }
  return char*;
     }
 }

-- 
Ticket URL: <https://developer.pidgin.im/ticket/14931#comment:5>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list