Revision: 17947
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=17947&view=rev
Author: hofman
Date: 2011-06-07 09:51:04 +0000 (Tue, 07 Jun 2011)
Log Message:
-----------
revert an earlier commit, do not trim punctuation from title words in format
parser as we want to reproduce the title
Modified Paths:
--------------
trunk/bibdesk/BDSKFormatParser.m
Modified: trunk/bibdesk/BDSKFormatParser.m
===================================================================
--- trunk/bibdesk/BDSKFormatParser.m 2011-06-07 06:36:27 UTC (rev 17946)
+++ trunk/bibdesk/BDSKFormatParser.m 2011-06-07 09:51:04 UTC (rev 17947)
@@ -345,8 +345,7 @@
if (numWords == 0) numWords =
[words count];
BOOL isFirst = YES;
for (i = 0; i < [words count]
&& numWords > 0; i++) {
- word = [[words objectAtIndex:i]
stringByTrimmingCharactersInSet:[NSCharacterSet punctuationCharacterSet]];
- word = [self stringByStrictlySanitizingString:word
forField:fieldName];
+ word = [self
stringByStrictlySanitizingString:[words objectAtIndex:i] forField:fieldName];
if (isLocalFile) {
word = [word
stringByReplacingCharactersInSet:slashCharSet withString:@"-"];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit