Explorar o código

Use the MathJax `Safe.js` extension to prevent XSS

Jessica Lawshe %!s(int64=8) %!d(string=hai) anos
pai
achega
49cf2a8dee
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      services/web/public/coffee/directives/mathjax.coffee

+ 1 - 0
services/web/public/coffee/directives/mathjax.coffee

@@ -2,6 +2,7 @@ define [
 	"base"
 ], (App) ->
 	mathjaxConfig =
+		extensions: ["Safe.js"]
 		messageStyle: "none"
 		imageFont:null
 		"HTML-CSS": { availableFonts: ["TeX"] },