Revision: 28108
http://sourceforge.net/p/bibdesk/svn/28108
Author: hofman
Date: 2022-12-13 15:32:49 +0000 (Tue, 13 Dec 2022)
Log Message:
-----------
use shorthand method to clean string
Modified Paths:
--------------
trunk/bibdesk/BDSKMathSciNetParser.m
Modified: trunk/bibdesk/BDSKMathSciNetParser.m
===================================================================
--- trunk/bibdesk/BDSKMathSciNetParser.m 2022-12-13 15:15:55 UTC (rev
28107)
+++ trunk/bibdesk/BDSKMathSciNetParser.m 2022-12-13 15:32:49 UTC (rev
28108)
@@ -157,7 +157,7 @@
for (NSXMLNode *node in preArray) {
NSString * preContent = [node stringValue];
- NSString * cleanedRecord = [preContent
stringByCollapsingAndTrimmingCharactersInSet:[NSCharacterSet
whitespaceAndNewlineCharacterSet]];
+ NSString * cleanedRecord = [preContent
stringByCollapsingWhitespaceAndNewlinesAndRemovingSurroundingWhitespaceAndNewlines];
cleanedRecord = [umlautFixer replaceWithString:@"{$1}"
inString:cleanedRecord];
[results addObjectsFromArray:[parser
itemsFromBibTeXString:cleanedRecord error:NULL]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit