💾 Archived View for midnight.pub › replies › 8167 captured on 2024-08-18 at 21:45:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-26)

🚧 View Differences

-=-=-=-=-=-=-

<

Parent

~inquiry

But a quick question: how is pure text being served in a way that my browser doesn't consider it html to all be munged together?

I'm not sufficiently experienced to understand how to accomplish that without either a <pre> in an index.html, or self-hosting to add whatever to .htaccess in order to have an index.txt served.

Write a reply

Replies

~jr wrote (thread):

well i'm running a server on my own infrastructure so i've got control over how the content is served. a pre tag is going to be your best option because that's all mine is anyways! (most) browsers automatically handle text files by placing them in a pre tag. i'd recommend doing that :)

~jr wrote:

well i'm running a server on my own infrastructure so i've got control over how the content is served. a pre tag is going to be your best option because that's all mine is anyways! (most) browsers automatically handle text files by placing them in a pre tag. i'd recommend doing that :)