SilentCog / rpgjs

Easter egg console.log game in the text based RPG fashion.
https://silentcog.github.io/console-game/
5 stars 2 forks source link

Escape text input to prevent XSS #31

Closed mimiflynn closed 9 years ago

mimiflynn commented 9 years ago

Use escape-html to prevent XSS via input.