1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-11-09 13:16:45 +00:00

Escape page title.

This commit is contained in:
Markus Birth 2017-09-20 23:29:26 +02:00
parent 520d20d20e
commit ba40f07025
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A

View File

@ -12,7 +12,7 @@
/* * * CONFIGURATION VARIABLES * * */ /* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = 'mb-wiki'; var disqus_shortname = 'mb-wiki';
var disqus_identifier = '{% if page.id %}{{ page.id }}{% else %}/index{% endif %}'; 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 }}'; var disqus_url = '{{ site.url }}{{ page.url }}';
</script> </script>
</div> </div>