File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,12 +161,12 @@ - (NSString *) parseBlame:(NSString *)txt
161
161
[res appendFormat: @" <tr class='block l%d '>\n " ,nLines];
162
162
line=[lines objectAtIndex: ++i];
163
163
if ([[[line componentsSeparatedByString: @" " ] objectAtIndex: 0 ] isEqual: @" author" ]){
164
- NSString *author=line;
164
+ NSString *author=[ line stringByReplacingOccurrencesOfString: @" author " withString: @" " ] ;
165
165
NSString *summary=nil ;
166
166
while (summary==nil ){
167
167
line=[lines objectAtIndex: i++];
168
168
if ([[[line componentsSeparatedByString: @" " ] objectAtIndex: 0 ] isEqual: @" summary" ]){
169
- summary=line;
169
+ summary=[ line stringByReplacingOccurrencesOfString: @" summary " withString: @" " ] ;
170
170
}
171
171
}
172
172
NSString *block=[NSString stringWithFormat: @" <td><p class='author'>%@ </p><p class='summary'>%@ </p></td>\n <td>\n " ,author,summary];
You can’t perform that action at this time.
0 commit comments