Gengliang Wang created SPARK-51120:
--------------------------------------

             Summary: Unblock MathJax.js in Spark Website
                 Key: SPARK-51120
                 URL: https://issues.apache.org/jira/browse/SPARK-51120
             Project: Spark
          Issue Type: Sub-task
          Components: Documentation
    Affects Versions: 3.5.4, 4.0.0
            Reporter: Gengliang Wang


There are errors when loading [https://spark.apache.org/docs/latest/]

 

 
{code:java}
latest/:393 Refused to load the script 
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
 because it violates the following Content Security Policy directive: 
"script-src 'self' 'unsafe-inline' 'unsafe-eval' 
https://analytics.apache.org/";. Note that 'script-src-elem' was not explicitly 
set, so 'script-src' is used as a fallback.
 
{code}
 

MathJax.js is big and it doesn't seem reasonable to self-host it. We should 
find another way to fix it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to