@freemo MathJax issue: qoto.org/web/statuses/10712210 renders as lots of whitespace and broken text in 3 column view for me. Screenshot attached.

When I look at the DOM, I see lots of spans with font size of 800%~900%.

@robryk This is strange. At first when it loads it actually renders fine... after a few seconds it under redender and adds text inline in the message about a rendering error (doesnt say what)... then a few seconds later (and only after a few refreshes) do I get the white space version you see.

Did it behave that way for you?

As far as I can get its a crosss domain scripting error, so i will need to bring the mathjax files onto the local domain I guess.

@freemo For me it never actually displays a rendered version even for a moment, but sometimes (when I refresh the whole page) it displays the raw, unrendered version instead, and that version is not replaced by anything for at least ~30s.

@freemo I also get lot of CSP errors: `Content Security Policy: The page’s settings blocked the loading of a resource at inline (“style-src”).` that point at MathJax.js:19:16737 and thereabouts.

@robryk yea thats the cross-domain script error I was referring to.

Follow

@freemo That's caused by qoto's CSP:

```
content-security-policy
base-uri 'none'; default-src 'none'; frame-ancestors 'none'; font-src 'self' qoto.org maxcdn.bootstrapcdn.com; img-src 'self' https: data: blob: qoto.org; style-src 'self' qoto.org maxcdn.bootstrapcdn.com miy.pw hcaptcha.com https://*.hcaptcha.com 'nonce-/wSZXEg7p+TWzLScbGBBUA=='; media-src 'self' https: data: qoto.org; frame-src 'self' https: hcaptcha.com https://*.hcaptcha.com; manifest-src 'self' qoto.org; connect-src 'self' data: blob: qoto.org storage.gra.cloud.ovh.net wss://qoto.org; script-src 'self' qoto.org maxcdn.bootstrapcdn.com hcaptcha.com https://*.hcaptcha.com; child-src 'self' blob: qoto.org; worker-src 'self' blob: qoto.org
```

That you can just change. If it's really that MathJax is loading something from somewhere else, and you find that acceptable, then adding that somewhere else to style-src would work.

@robryk indeed it is, yea. Thanks. I will address it in the next code update.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.