We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 552b7c4 commit 9b6a44cCopy full SHA for 9b6a44c
1 file changed
lib/handlers/get.js
@@ -98,7 +98,7 @@ async function handler (req, res, next) {
98
const isHtmlResource = mimeTypeByExt && mimeTypeByExt.includes('html')
99
const useDataBrowser = ldp.dataBrowserPath && (
100
container ||
101
- RDFs.includes(contentType) && !isHtmlResource && !ldp.suppressDataBrowser)
+ [...RDFs, 'text/markdown'].includes(contentType) && !isHtmlResource && !ldp.suppressDataBrowser)
102
103
if (useDataBrowser) {
104
res.setHeader('Content-Type', 'text/html')
0 commit comments