Revision: 29385
          http://sourceforge.net/p/bibdesk/svn/29385
Author:   hofman
Date:     2025-07-28 14:38:09 +0000 (Mon, 28 Jul 2025)
Log Message:
-----------
ignore checking fragile characters when we ignore problems with it

Modified Paths:
--------------
    trunk/bibdesk/BDSKEditor.m

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2025-07-28 14:36:34 UTC (rev 29384)
+++ trunk/bibdesk/BDSKEditor.m  2025-07-28 14:38:09 UTC (rev 29385)
@@ -2114,12 +2114,12 @@
                 [err setValue:message 
forKey:NSLocalizedRecoverySuggestionErrorKey];
                 *error = err;
             }
-        } else {
+        } else if (editorFlags.allowFragileCharacters == NO) {
             NSCharacterSet *invalidSet = [[BDSKTypeManager sharedManager] 
fragileCiteKeyCharacterSet];
             NSRange r = [obj rangeOfCharacterFromSet:invalidSet];
             
             // check for fragile invalid characters, as the formatter doesn't 
do this
-            if (r.location != NSNotFound && editorFlags.allowFragileCharacters 
== NO) {
+            if (r.location != NSNotFound) {
                 
                 isValid = NO;
                 if (error) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to