summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-02-11 02:36:52 -0600
committerCheng-Han, Wu2016-02-11 02:36:52 -0600
commit6700f033ab2c2e6f5ab1293025d3485ecc37c321 (patch)
tree102e3028a49d938e5c5d782568d9fbbf1937a782 /public/views
parentfdb9c47354fd370f6e69c61f2fec4a552450a62a (diff)
Prevent XSS in markdown rendering
Diffstat (limited to 'public/views')
-rw-r--r--public/views/foot.ejs1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index b0006f7b..3a5ef145 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -29,6 +29,7 @@
<script src="/vendor/remarkable-regex.js" defer></script>
<script src="/vendor/gist-embed.js" defer></script>
<script src="/vendor/lz-string/libs/lz-string.min.js" defer></script>
+<script src="/vendor/xss/dist/xss.min.js" defer></script>
<script src="/vendor/string.min.js" defer></script>
<script src="/vendor/highlight-js/highlight.min.js" defer></script>
<script src="/vendor/js.cookie.js" defer></script>