Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

pre-wrap should allow wrapping. And adding white-space: pre-wrap explicitly to the pre fixes it for me. So maybe that isn't applying for some reason.

Edit: Ah, the problem appears to be that a Content-Security-Policy blocks it.

> Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”).



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: