Skip to content

Commit 51e4cd7

Browse files
committed
reverted hardening code, CSS config fix instead
1 parent 40ab9cf commit 51e4cd7

4 files changed

Lines changed: 0 additions & 18 deletions

File tree

src/RDFXMLPane.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ export const RDFXMLPane = {
1818
audience: [ns.solid('Developer')],
1919

2020
label: function (subject, context) {
21-
// Don't match markdown files - let humanReadablePane handle those
22-
if (subject.uri && (subject.uri.endsWith('.md') || subject.uri.endsWith('.markdown'))) {
23-
return null
24-
}
2521
const store = context.session.store
2622
if (
2723
'http://www.w3.org/2007/ont/link#ProtocolEvent' in

src/dataContentPane.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ export const dataContentPane = {
2222
audience: [ns.solid('Developer')],
2323

2424
label: function (subject, context) {
25-
// Don't match markdown files - let humanReadablePane handle those
26-
if (subject.uri && (subject.uri.endsWith('.md') || subject.uri.endsWith('.markdown'))) {
27-
return null
28-
}
2925
if (
3026
'http://www.w3.org/2007/ont/link#ProtocolEvent' in
3127
context.session.store.findTypeURIs(subject)

src/dokieli/dokieliPane.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ export default {
5858

5959
if (!subject.uri) return null // no bnodes
6060

61-
// Don't match markdown files - let humanReadablePane handle those
62-
const uri = subject.uri
63-
if (uri.endsWith('.md') || uri.endsWith('.markdown')) {
64-
return null
65-
}
66-
6761
const t = kb.findTypeURIs(subject)
6862
if (t[ns.link('WebPage').uri]) return 'view'
6963

src/n3Pane.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ export const n3Pane = {
1717
audience: [ns.solid('Developer')],
1818

1919
label: function (subject, context) {
20-
// Don't match markdown files - let humanReadablePane handle those
21-
if (subject.uri && (subject.uri.endsWith('.md') || subject.uri.endsWith('.markdown'))) {
22-
return null
23-
}
2420
const store = context.session.store
2521
if (
2622
'http://www.w3.org/2007/ont/link#ProtocolEvent' in

0 commit comments

Comments
 (0)