Skip to content

Commit 9b6a44c

Browse files
committed
mashlib text/markdown
1 parent 552b7c4 commit 9b6a44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handlers/get.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ async function handler (req, res, next) {
9898
const isHtmlResource = mimeTypeByExt && mimeTypeByExt.includes('html')
9999
const useDataBrowser = ldp.dataBrowserPath && (
100100
container ||
101-
RDFs.includes(contentType) && !isHtmlResource && !ldp.suppressDataBrowser)
101+
[...RDFs, 'text/markdown'].includes(contentType) && !isHtmlResource && !ldp.suppressDataBrowser)
102102

103103
if (useDataBrowser) {
104104
res.setHeader('Content-Type', 'text/html')

0 commit comments

Comments
 (0)