From 3369619722d79f8475100da1c934bed55960af4d Mon Sep 17 00:00:00 2001 From: Tim Berners-Lee Date: Fri, 16 Jul 2021 19:59:06 +0100 Subject: [PATCH] Also service any content-type with 'json' in it --- sourcePane.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sourcePane.js b/sourcePane.js index 7c05f70..7a9893d 100644 --- a/sourcePane.js +++ b/sourcePane.js @@ -20,6 +20,7 @@ module.exports = { for (const t in typeURIs) { if (t.startsWith(prefix)) return 'Source' if (t.includes('xml')) return 'XML Source' + if (t.includes('json')) return 'JSON Source' // Like eg application/ld+json } return null },