WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
Quotes in title give javascript error (1 post)

  1. Marco Panichi
    Member
    Posted 10 months ago #

    Hi,

    I've noticed that if the title of a post contain quotes, it gives javscript errors.

    It could not be different because quotes are not escaped in the script section added by the plugin in the footer.

    TITLE:
    Recensione - "Advanced Google Adwords"

    IN FOOTER:

    <script type="text/javascript">
    	var disqus_shortname = "marcopanichi-com";
    	var disqus_title = "Recensione - "Advanced Google Adwords"";
    	var disqus_url = "http://www.marcopanichi.com/blog/recensione/advanced-google-adwords/";
    	var disqus_identifier = "marcopanichi-com-1538";
    </script>

    JS ERROR:
    Uncaught SyntaxError: Unexpected identifier

    http://wordpress.org/plugins/disqus-comment-system/

Reply

You must log in to post.

About this Plugin

About this Topic