Can't preview markdown file in Penny as they get text/turle
type instead of text/plain
#2336
Labels
bug
Something isn't working
text/turle
type instead of text/plain
#2336
Search terms you've used
contentType, markdown
Bug description
On the community solid server recipe using Penny UI , text file uploaded as
.md
.markdown
or CSS's by defaultREADME.$markdown
can't get priviewed by penny.In the debugger I can see they have the
text/turtle
content type, instead oftext/plain
( which I believe is the correct type).To Reproduce
echo bar > foo.md
Expected result
Penny should preview the file ( "bar" ) as if it was a plain text file
( check the result if you use
foo.txt
instead offoo.md
in step 4 )Actual result
Penny shows
This resource is empty.
Environment
System:
OS: Linux 5.15 Fedora Linux 36 (Thirty Six)
CPU: (4) x64 Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz
Memory: 4.72 GB / 11.39 GB
Container: Yes
Shell: 5.9 - /home/user/.nix-profile/bin/zsh
Binaries:
Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
pnpm: 8.11.0 - ~/.nvm/versions/node/v18.16.1/bin/pnpm
bun: 1.0.15 - ~/.bun/bin/bun
Browsers:
Chrome: 121.0.6167.184
Chromium: 111.0.5563.64
npmGlobalPackages:
corepack: 0.17.0
create-preact-app: 0.2.0
date-prompt: 1.0.0
eas-cli: 7.1.2
expo-cli: 6.3.10
npm: 9.5.1
pnpm: 8.11.0
Additional information
The text was updated successfully, but these errors were encountered: