Revision: 10927
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=10927&view=rev
Author: amaxwell
Date: 2007-08-16 16:33:22 -0700 (Thu, 16 Aug 2007)
Log Message:
-----------
escape common characters for TeX
Modified Paths:
--------------
trunk/bibdesk/BDSKSciFinderParser.m
Modified: trunk/bibdesk/BDSKSciFinderParser.m
===================================================================
--- trunk/bibdesk/BDSKSciFinderParser.m 2007-08-16 16:08:21 UTC (rev 10926)
+++ trunk/bibdesk/BDSKSciFinderParser.m 2007-08-16 23:33:22 UTC (rev 10927)
@@ -97,10 +97,8 @@
value = [value stringByRemovingSuffix:@"."];
else if ([key rangeOfCharacterFromSet:replaceChars].length)
key = [key stringByReplacingCharactersInSet:replaceChars
withString:@"-"];
-
- // @@ worth it to remove newlines from the value? probably depends on the
source...
- [pubFields setObject:value forKey:[key fieldName]];
+ [pubFields setObject:[value stringByBackslashEscapingTeXSpecials]
forKey:[key fieldName]];
}
+ (NSArray *)itemsFromString:(NSString *)itemString error:(NSError **)outError;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit