mnutt / davros

Personal file storage server
Apache License 2.0
298 stars 35 forks source link

Incorrect formatting of plain text files #84

Open zenhack opened 7 years ago

zenhack commented 7 years ago

If I have a plaintext file (.txt extension) in a davros folder, the "preview" seems to render it as html, which has the effect of destroying all formatting, plus using a variable width-font, which depending on the content can be not what you want. Contrast this with how browsers display things flagged as text/plain, e.g:

https://github.com/robots.txt