Skip to content

Commit

Permalink
account for double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
retailcoder committed Aug 23, 2019
1 parent 1dec1e3 commit b8a37a3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -36,7 +36,7 @@ public class AttributeAnnotationProvider : IAttributeAnnotationProvider
// FIXME special cased bodge for ExcelHotKeyAnnotation to deal with the value transformation:
if (flexibleValueAttributeAnnotation == AnnotationType.ExcelHotKey)
{
return (flexibleValueAttributeAnnotation, attributeValues.Select(keySpec => keySpec.Substring(0, 1)).ToList());
return (flexibleValueAttributeAnnotation, attributeValues.Select(keySpec => keySpec.Substring(1, 1)).ToList());
}
return (flexibleValueAttributeAnnotation, attributeValues);
}
Expand Down

0 comments on commit b8a37a3

Please sign in to comment.