diff --git a/GLFileView.m b/GLFileView.m
index f64c39a..76f0547 100644
--- a/GLFileView.m
+++ b/GLFileView.m
@@ -161,12 +161,12 @@
[res appendFormat:@"
\n",nLines];
line=[lines objectAtIndex:++i];
if([[[line componentsSeparatedByString:@" "] objectAtIndex:0] isEqual:@"author"]){
- NSString *author=line;
+ NSString *author=[line stringByReplacingOccurrencesOfString:@"author" withString:@""];
NSString *summary=nil;
while(summary==nil){
line=[lines objectAtIndex:i++];
if([[[line componentsSeparatedByString:@" "] objectAtIndex:0] isEqual:@"summary"]){
- summary=line;
+ summary=[line stringByReplacingOccurrencesOfString:@"summary" withString:@""];
}
}
NSString *block=[NSString stringWithFormat:@"%@ %@ | \n\n",author,summary];
|