From ba40f07025834dc834ef8f4f1d819cd9fd5785df Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Wed, 20 Sep 2017 23:29:26 +0200 Subject: [PATCH] Escape page title. --- _includes/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/comments.html b/_includes/comments.html index 3f74ac6..4a8a452 100644 --- a/_includes/comments.html +++ b/_includes/comments.html @@ -12,7 +12,7 @@ /* * * CONFIGURATION VARIABLES * * */ var disqus_shortname = 'mb-wiki'; var disqus_identifier = '{% if page.id %}{{ page.id }}{% else %}/index{% endif %}'; - var disqus_title = '{{ page.title }}'; + var disqus_title = '{{ page.title | escape }}'; var disqus_url = '{{ site.url }}{{ page.url }}';