You need to sign in to do that
Don't have an account?
Forum code sample feature interacts badly with Safari
When I use Safari 4.03 (osx) to post nicely formatted code here, using the code block feature, the forum breaks the code formatting. I'm posting this here so I can refer to it in a case I am logging.
for (Lead l: trigger.new) { if (l.OwnerId == vendorQueueId && l.IsConverted == false && l.Source_type__c == Literal.groupNames.get('vendorRegistration') && l.ExternalId__c != null) { leads.add(l); } }
If I post the same code using FireFox, the formatting is not mangled.
This is the same code, posted with Firefox:
for (Lead l: trigger.new) { if (l.OwnerId == vendorQueueId && l.IsConverted == false && l.Source_type__c == Literal.groupNames.get('vendorRegistration') && l.ExternalId__c != null) { leads.add(l); } }
Testing with Safari 4.0.2 Leopard:
for (Lead l: trigger.new) { if (l.OwnerId == vendorQueueId && l.IsConverted == false && l.Source_type__c == Literal.groupNames.get('vendorRegistration') && l.ExternalId__c != null) { leads.add(l); }}
Hey, this is still broken. Can you fix it? I heard that Nick Tran was the guy who could make this happen; I assume that's Tran Man in this thread.
It causes quite a bit of pain; many people aren't aware what the problem is, and are stuck with posting code that gets mangled. That means they are less likely to get help.