From 4c4a0e0f3fe9b4e33f2182f3f8e20d87736b371d Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Thu, 11 Feb 2016 03:45:13 -0600 Subject: Fixed prevent XSS might break lots of tags and only need after rendered --- public/views/foot.ejs | 1 + public/views/pretty.ejs | 2 ++ public/views/slide/reveal.hbs | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'public/views') diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 3a5ef145..dfb07ece 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -60,6 +60,7 @@ + \ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 07b0f7b2..998b2ef7 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -76,6 +76,7 @@ <% } %> + @@ -94,4 +95,5 @@ + \ No newline at end of file diff --git a/public/views/slide/reveal.hbs b/public/views/slide/reveal.hbs index fd19f23c..fd87ddb3 100644 --- a/public/views/slide/reveal.hbs +++ b/public/views/slide/reveal.hbs @@ -31,6 +31,8 @@ + +