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

Pidgin trac at pidgin.im
Mon Mar 3 17:58:32 EST 2014


#16099: <HTML> tag appears in AIM logs:
--------------------------+--------------------------
 Reporter:  hayhackerall  |      Owner:  EionRobb
     Type:  enhancement   |     Status:  new
Milestone:                |  Component:  unclassified
  Version:  2.10.9        |   Keywords:
--------------------------+--------------------------
 defect #14931 this code i think it will be helpful to solve this problem,
 here is my code:
 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/16099>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list