Merge branch 'master' into 'master'

fix XSS #4

Closes #4

See merge request !3
This commit is contained in:
Luc Didry 2017-07-10 09:22:44 +02:00
commit 99d4da383c

View file

@ -10,6 +10,8 @@ var socket = io.connect({path: baseurl + "/socket.io"});
moment.locale(navigator.language || navigator.languages[0]); moment.locale(navigator.language || navigator.languages[0]);
marked.setOptions({sanitize: true});
//an action has happened, send it to the //an action has happened, send it to the
//server //server
function sendAction(a, d) { function sendAction(a, d) {