mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +00:00
Escape by replacing single quotes instead of using HTML entities.
This commit is contained in:
parent
ba40f07025
commit
e3751603e1
@ -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 | escape }}';
|
var disqus_title = '{{ page.title | replace: '\'', '\\\'' }}';
|
||||||
var disqus_url = '{{ site.url }}{{ page.url }}';
|
var disqus_url = '{{ site.url }}{{ page.url }}';
|
||||||
</script>
|
</script>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user