We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c074475 commit f2dafbfCopy full SHA for f2dafbf
src/model/events/content-types.ts
@@ -207,7 +207,7 @@ export function getCompatibleTypes(
207
}
208
209
// Allow optionally formatting non-JSON as JSON, if it looks like it might be
210
- if (firstChar === '{' || firstChar === '[') {
+ if ((firstChar === '{' && !types.has('json-records')) || firstChar === '[') {
211
types.add('json');
212
213
0 commit comments